Is there any difference between Button with image, ImageButton and clickable ImageView?
Is there any difference between Button with image, ImageButton and clickable ImageView ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This probably only covers part of the differences, it would be helpful to actually look at the Android Source tree to see exactly what’s going on.
ImageButtons has push states, where as a clickable image does not.
You also can’t call setText for ImageButton, you can with a regular button.
They all derive from view, but looking at the following extends chain may help a little.
versus