How can I use scaleType for an image in a button?
I am using a button with drawableTop (image with text below it). I have an image and I want it to fit the button boundries (currently it is too big to fit and resulting in truncated image)
There is no scaleType attribute for button so how can I do it?
Thank you
What you need is android nine-patch images to be used as button background.
There is a good tutorial here
Also look here Here