Android ImageButton displays a button with an image not as text. ImageButton is similar to normal button, ImageButton have all the properties of normal button and we can onClick Listener like in the normal button.
In this tutorial, you will learn to use ImageButton in android application and handle onClick event. If you click an ImageButton, you will see a Toast message.
Android ImageButton Example: How to use ImageButton in Android
XML Layout File
Java Activity File
Now, run your ImageButton android application which will look like output given below.