Home » Android » core » ui » ImageButton » Android ImageButton
Selector Example  About Ilias Tsagklis  Ilias Tsagklis  Android
ImageButton Selector Example  In Android you can use
the ImageButton component to display a normal Button with a
custom image as a background. Take a look at our previous
tutorial to remember the use of ImageButton. The fact is that
you can do more than just an Image which is also a button. In
this tutorial we are going to use two different images that will
reflect the status of one button. When the button is released,
the green Android logo will be the background image of the
button. When the button is pressed, the green Android logo will
be the background image of the button. For this tutorial, we
will use the following tools in a Windows 64-bit platform:    1.
JDK 1.7   2. Eclipse 4.2 Juno   3. Android SKD 4.2  1. Create a
new Android Project  Open Eclipse IDE and go to File -> New ->
Project -> Android -> Android Application Project and click
Next.  You have to specify the Applica