title: Align a label to text of first RadioButton
body: <p>I have a <code>TableLayout</code> with 2 columns: label and input field (<code>Spinner</code>, <code>EditText</code>, <code>RadioGroup</code>). I want to align the label for the <code>RadioGroup</code> to be exactly in vertical alignment with the text of the first radio button. The Text "Take it" shall be on the red line. How to do that? Is it possible?</p>
  
  <p><img src="https://i.imgur.com/ScySOWj.png" alt="example with label -&gt; gravity=top"></p>
  
  <p>Here is the XML - stripped down to the relevant <code>TableRow</code>:</p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/layoutEditMedication1"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical"
    android:padding="16dp"
    tools:context=".Main" &gt;
  
    &lt;ScrollView
      android:id="@+id/scrollView1"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:layout_above="@id/buttons" &gt;
  
      &lt;TableLayout
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:shrinkColumns="1"
        android:stretchColumns="1" &gt;
  
        &lt;TableRow style="@style/EditMedicationTableRowT" &gt;
  
          &lt;TextView
            style="@style/EditMedicationLabel"
            android:layout_gravity="top"
            android:text="@string/i_need_to_take" /&gt;
  
          &lt;RadioGroup
            style="@style/EditMedicationTableRowB"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical" &gt;
  
            &lt;RadioButton
              android:id="@+id/radioScheduleDaily"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="@string/schedule_daily" /&gt;
  
            &lt;RadioButton
              android:id="@+id/radioScheduleSpecial"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="@string/schedule_special" /&gt;
          &lt;/RadioGroup&gt;
        &lt;/TableRow&gt;
      &lt;/TableLayout&gt;
    &lt;/ScrollView&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>and the used styles are:</p>
  
  <pre><code>&lt;resources&gt;
      &lt;style name="EditMedicationTableRowT"&gt;
          &lt;item name="android:paddingTop"&gt;8dp&lt;/item&gt;
          &lt;item name="android:layout_width"&gt;fill_parent&lt;/item&gt;
          &lt;item name="android:layout_height"&gt;wrap_content&lt;/item&gt;
      &lt;/style&gt;
  
      &lt;style name="EditMedicationTableRowB"&gt;
          &lt;item name="android:layout_width"&gt;fill_parent&lt;/item&gt;
          &lt;item name="android:layout_height"&gt;wrap_content&lt;/item&gt;
          &lt;item name="android:paddingBottom"&gt;8dp&lt;/item&gt;
          &lt;/style&gt;
  
      &lt;style name="EditMedicationLabel"&gt;
          &lt;item name="android:layout_width"&gt;wrap_content&lt;/item&gt;
          &lt;item name="android:layout_height"&gt;wrap_content&lt;/item&gt;
          &lt;item name="android:layout_gravity"&gt;center_vertical&lt;/item&gt;
          &lt;item name="android:paddingRight"&gt;16dp&lt;/item&gt;
          &lt;item name="android:textAppearance"&gt;?android:attr/textAppearanceMedium&lt;/item&gt;
      &lt;/style&gt;
  &lt;/resources&gt;
  </code></pre>
  
  <p>I know that I could make two <code>TableRows</code> with two different <code>RadioGroups</code> each with one <code>RadioButton</code> and then programmatically code something that makes them look as if they where one <code>RadioGroup</code>. But maybe there is a simple solution.</p>
  
  <p>API is 8 and up.</p>