Question about ToggleButtons

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Question about ToggleButtons

Postby megabot » Mon Mar 16, 2009 8:57 pm


I have an Activity with 3 ToggleButtons. I want to make it so, that when 1 ToggleButton is selected (On), the remaining two ToggleButtons should be disabled (Off). I assume this is easily done programmatically by using the setOnClickListener button for each ToggleButton etc.

Can this also be done in XML? If so, how exactly?

One minor question: Is it possible to remove the text from a ToggleButton (standard ON/OFF)? Thanks in advance.
Posts: 8
Joined: Sun Mar 15, 2009 12:55 pm


Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 2 guests