Reputation: 10049
Warning: I am a noob so this might not be a "regular question".
My question: Instead of using an imagebutton in Android isnt it the same to use an image, make clickable=true and then use that onClick as well?
Isnt that the same? Or am I missing something?
The only thing my google ventures has given me is that you can have different states onPressed, onReleased etc but that too can easily be done via the java code.
What am I missing?
Thanks!
Upvotes: 2
Views: 384
Reputation: 98501
ImageButton gives you more control on how to display the image than if you were using the base View class.
Upvotes: 3