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 :)
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With