I got into Android development a few days ago, when I bought myself a Galaxy S. Right now, I'm in the middle of creating a menu. A vertical menu with radio buttons. The text should appear on the left side and the radio buttons on the right side.
I've managed to get to this point, BUT! The radio buttons won't work as a group. They should be inside a RadioGroup, I know. And they are. I can get the buttons to work when I just line them up horizontally without any LinearLayouts inside the RadioGroup. But for my layout to work, I need to basically wrap the whole layout xml-file inside a RadioGroup. It's the only way I can get all the buttons inside the same one.
My layout outline looks something like this:
-RadioGroup
-------LinearLayout
-----------------LinearLayout
------------------------TextView
------------------------TextView
-----------------LinearLayout
------------------------RadioButton(id1)
-------LinearLayout
-----------------LinearLayout
------------------------TextView
------------------------TextView
-----------------LinearLayout
------------------------RadioButton(id2)
So do you have any suggestion that might help me solve this? I'd be forever thankful!




