how do I specify different images for an ImageButton when the state
changes (i.e. pressed).

<ImageButton android:id="@+id/Btn1"
                     android:layout_width="wrap_content"
                     android:layout_height="wrap_content"
                     android:src="@drawable/btn1"
                     android:background="@color/transparent"/>

In a standard button the color changes to orange when pressed, I'd
like to change a custom image button with a different image.

tia.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to