Possible Duplicate:
Android ImageButton with a selected state?
I was wondering whether there is a way to change the image of an ImageButton when it is clicked on? It is supposed to be a play/pause button so if the audio is playing then the image should be "pause" and once the user clicks pause the image should show "play" thanks in advance