The key is to use group/item elements, not RadioGroup/RadioButton, as
documented here:

http://developer.android.com/guide/topics/resources/available-resources.html#menus

Wrapping the radio button menu items in a group, giving that group an
ID, and setting its checkableBehavior attribute to "single" gives you
radio buttons.  Yes, I know the documentation says that setting that
attribute to "all" gives you that behavior, but it appears to be
backwards... according to testing with the emulator in SDK 1.1r1 and
firmware 1.0 on the dev phone, "single" gives radio buttons and "all"
gives checkboxes.

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

Reply via email to