I want to know if there is a way to make an imagebutton display its image after it is pressed.
I need this to be done in my Java main Activity, not in the XML layout file.
The button should be blank white in beginning and when pressed I want it to display its image. The method I am in gets passed a View from the button, if you need to know that.