I wanted to create a rounded button in Android with varying images for the background. These images will be downloaded from the internet...and the shape of the images vary (square, rectangle, etc.). Is there anyway to achieve this with just a Button
?
I read the following posts:
How to make the corners of a button round?
Problem with those implementations is that they only allow for a certain background to be applied. Is there anyway to do this with the background being the image I set but still with rounded corners? My only alternative to this is to have an invisible button on top of an ImageView
...but i'd rather not go that route if I can avoid it...