PDA

View Full Version : Applying style on button click



W Tinku Singh
21 May 2015, 1:23 AM
Hi,

I want the attached image(image #1) to appeared in bottom of button(like in image # 2) after the button clicked. I able to do the above by using image for one button, but in my case there are more than 5 buttons and all the buttons are of different size so the image doesn't fit to all the buttons. So please provide the solution so that it works dynamically.

Thanks in advance

5247552476

jdkhamba
21 May 2015, 9:08 AM
The size of an image cannot change dynamically without stretching it. I dont think you want that. Which means you need all the buttons to be of the same width so that it fits the button's size. Why not just make all the buttons of the same size?