I have a confusion about ImageButton
. I can make an ImageView
clickable and use as button, so why do we explicitly need an ImageButton
? When designing Android app, I found ImageView
is much more useful than ImageButton
, perhaps I missed some of the features of ImageButton
. So I want to know what are the advantages of using ImageButton
? Thanks.
Asked
Active
Viewed 7,865 times
8

orchidrudra
- 1,172
- 1
- 12
- 30
-
2Already asked : http://stackoverflow.com/questions/5847136/difference-between-a-clickable-imageview-and-imagebutton – eric.itzhak May 23 '12 at 10:33
-
Damnit a minute too late! Oh well... You can check out this previous answer here: http://stackoverflow.com/questions/5847136/difference-between-a-clickable-imageview-and-imagebutton – dr3minem May 23 '12 at 10:35
1 Answers
7
This question was answered quite thoroughly here: Difference between a clickable ImageView and ImageButton
To sum it up: There's no differences, except default style. ImageButton has a non-null background by default.