title: How to add a radio group to radio buttons inside of a table?
body: <p>I have multiple radio buttons which I want to layout using a table but also include them in a single radio group. I have the following xml layout:</p>
  
  <pre><code>&lt;RadioGroup android:layout_width="fill_parent" 
        android:layout_height="wrap_content" 
        android:orientation="vertical"
        android:id="@+id/Group1"&gt;
  
      &lt;TableLayout android:id="@+id/RadioButtons" 
          android:layout_width="wrap_content" 
          android:layout_height="wrap_content"&gt;
  
          &lt;TableRow&gt;
              &lt;RadioButton android:id="@+id/rad1" 
                  android:text="RButton1" 
                  android:layout_width="105px" 
                  android:layout_height="wrap_content" 
                  android:textSize="13px"&gt;&lt;/RadioButton&gt;
              &lt;RadioButton android:id="@+id/rad2" 
                  android:text="RButton2" 
                  android:layout_width="105px" 
                  android:textSize="13px" 
                  android:layout_height="wrap_content"&gt;&lt;/RadioButton&gt;
              &lt;RadioButton android:id="@+id/rad3" 
                  android:text="RButton3" 
                  android:layout_width="105px" 
                  android:textSize="13px" 
                  android:layout_height="wrap_content"&gt;&lt;/RadioButton&gt;
          &lt;/TableRow&gt;
        &lt;/TableLayout&gt;
  &lt;/RadioGroup&gt;  
  </code></pre>
  
  <p>But unfortunately the radio buttons inside the table seem to ignore the fact that they're inside of the RadioGroup tags and because of this you can select more than one radio button at the time. I noticed that by removing the table and just having the radio buttons it works just fine. How can I overcome this? Would it be as simple as declaring the radio group inside of the table instead of outside? Thanks for any help. </p>