Hi,

I need to create a button that has on/off state using the background
graphic(drawable) to represent the current state. I think I need to
extend CompoundButton but I'm having trouble understanding how I set
the two background drawables for on and off. Can anyone shed some
light on this?

Cheers
Simon

--~--~---------~--~----~------------~-------~--~----~
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