I would like have a ToggleButton with different images for the checked
and unchecked states.
<ToggleButton android:id="@+id/Btn1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/btn1"
android:layout_centerVertical="true"
android:background="@color/transparent"/>
Starts off in "btn1" image. When clicked (toggled), it switches to
"btn2" image -- how/where do I specify that?
tia.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---