Hello,

I was trying to add a group of radio buttons to an Android application and I wanted them to be displayed in two rows of two. I tried to put a table layout inside the radiogroup to achieve this and the radio buttons no longer work. They show up, but they just act as if they aren't in a radiogroup (they dont respond to another button in the group being selected). If I take away the tablelayout they work fine.

Is there any way I can control the layout of the buttons within the radiogroup (because putting a layout inside apparently doesn't work).

Thanks,
Matt

Update:
The buttons work if you put a tablelayout around the radiogroup but if you put any tablerow tags inside the radiogroup they stop working. Unless there is something I am missing, it seems there can't be any layouts inside the radiogroup. Is there some other way to format radiobuttons?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.