Conflict with Android RadioGroup and table layout

I am working on a graphical interface that is defined by data from a web service. One aspect is that I have a table structure of 2 columns and n rows. In the left column there are RadioButtons, in the right column EditText widgets. All RadioButtons are logically part of RadioGroup. But here's the problem: you cannot add a RadioButton to either a RadioGroup or a container structure like LinearLayout or TableLayout.

Does anyone have a suggestion on how I can keep my column structure 2 columns and at the same time have RadioButtons, which is a member of Radiogroup, and as such forcibly use one select?

Thanks in advance for any helpful suggestion.

+3
source share

All Articles