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

Hello,

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.
megabot
Freshman
Freshman
 
Posts: 8
Joined: Sun Mar 15, 2009 12:55 pm

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 4 guests