Buttons are made of nine patch images. When you set the Button's Color property you remove the existing background and set a new ColorDrawable. Unlike the image which has some padding the ColorDrawable doesn't have any padding.
Buttons are made of nine patch images. When you set the Button's Color property you remove the existing background and set a new ColorDrawable. Unlike the image which has some padding the ColorDrawable doesn't have any padding.