Change the state of a customized button (button with an image)?
Posted
by Harry Pham
on Stack Overflow
See other posts from Stack Overflow
or by Harry Pham
Published on 2010-04-15T21:16:23Z
Indexed on
2010/04/15
21:53 UTC
Read the original article
Hit count: 293
I know how to change the state of the regular button, as well as change the background color of a regular button. However, what I have is a image lay on top of a button (customized button). I want, when the user click on it, something visually would happen to let the user know that button is selected, and when the user click again it go back to the regular state. I try to change the background of the button, but it doesnt work since the image kind of cover the button. Any idea?
© Stack Overflow or respective owner