Thanks.. But I'm not able to set my text. the default text(ON/OFF) is displayed. I have specified text attr in xml. What is the correct way?
Rob On Nov 13, 3:58 pm, Shrenik Vikam <shre...@ruby-solutions.com> wrote: > use > ToggleButtonhttp://developer.android.com/intl/fr/reference/android/widget/ToggleB... > > On Nov 13, 3:48 pm, Ronnie <ronnievie...@gmail.com> wrote: > > > Hi all, > > I need a button that stays pressed until I press on it the second > > time. Just like a button with the behaviour of a checkbox. > > How to do this? -- 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