title: Using RelativeLayout inside RadioGroup make RadioButtons not exclusive
body: <p>I'm trying to make a RadioGroup with two radio buttons in the horizontal and vertical center. But also I want that they stay aligned by they radio since they had different text length. I used this code, but they are not mutually exclusive :</p>
  
  <pre><code>      &lt;RadioGroup
              android:layout_width="fill_parent"
              android:layout_height="fill_parent"
              android:gravity="center"&gt;
  
              &lt;RelativeLayout
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:gravity="center|center_vertical"&gt;
  
                  &lt;RadioButton
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:id="@+id/rbtn_gps_to"
                      android:text="to"
                      android:checked="true"
                      /&gt;
  
  
                  &lt;RadioButton
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:id="@+id/rbtn_gps_from"
                      android:text="from"
                      android:layout_below="@+id/rbtn_gps_to"
                      /&gt;
  
  
              &lt;/RelativeLayout&gt;
  
  
          &lt;/RadioGroup&gt;
  </code></pre>
  
  <p>It works, both are aligned as I wish , but the problem is that when I check one and then I check the other , the first one stay also checked, so they are not exclusive. When I remove the Relative Layout the radiobuttons are exclusive. Is any way to create the layout that I want and the radiobuttons remain exclusive?</p>