Hi, I am working on custom keyboard tool in android it is somewhat same as our default android device keyboard. Below shows the format of my keyboard.
So, here i am setting backgorund color to button but it is looking very clumsy as shown below,
i need to set background color as red same as shown in above screenshot which is default color of button.It changes the dimension of button when i set background color.
Code i have used to set background color is,
int mColor = 0xFFFF0000;
b.setBackgroundColor(mColor);
v.setBackgroundColor(mColor);
So where i am going wrong.