I’m trying to use an ImageView as a Button, and I want to be able to change the image whenever the button’s pressed. I have an OnClickListener set, but what do I have to do about when the user’s finger is no longer down, over the button? How do I revert to the original image?
I’m trying to use an ImageView as a Button , and I want to
Share
User this instead:
the event parameter will let you know if its
ACTION_DOWNorACTION_UP