I'm using an ImageButton to display a picture but since it's really small, I'm using the scaleX and scaleY attributes to make it a bit bigger. The problem is that for some reason, if I scale it, the button itself gets larger. I know this because my buttons have borders and are in a grid. When I scale it, it overlaps the adjacent buttons. I'm really not sure why. What did I do wrong or am I lacking something?
Original
http://imgur.com/NJ6UOO4
Scaled
http://imgur.com/QLgHlux
Original
http://imgur.com/NJ6UOO4
Scaled
http://imgur.com/QLgHlux
Last edited: