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.
7648 次
1 に答える
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.
于 2012-05-23T10:35:45.587 に答える