What is the difference between Button and ImageButton, where if we use any image in button’s background its also work like image button. So why we use image button?
Thanks in advance 🙂
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.
Button extends TextView, allowing you to create clickable text with a background image.
http://developer.android.com/reference/android/widget/TextView.html
ImageButton extends Image view, which has more methods relevant to the manipulation of images.
http://developer.android.com/reference/android/widget/ImageView.html