I have just started android. I made an 8x8 grid for chess game, and made the buttons for it. I am trying to give a background color for my buttons, my buttons have 40dp width and 60dp height. The problem is, when I put a background color, it takes almost 43dp width and 63dp height which creates a problem of overlapping the buttons.
PS: I tried backgroundTint, but it does not show any color on my device as I'm using 4.2.2 jellyBean.
see the image below:
