title: Align TextViews with RelativeLayout
body: <p>I have layout like this:</p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:background="@drawable/bgr"&gt;
      &lt;RelativeLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_centerVertical="true"
              &gt;
          &lt;TextView android:layout_width="60dp" android:layout_height="wrap_content"
                    android:id="@+id/label"
                    style="@style/ConnectionPoint.Label"
                    android:text="Title"
                  /&gt;
          &lt;TextView android:layout_width="wrap_content" android:layout_height="wrap_content"
                    android:id="@+id/code"
                    style="@style/ConnectionPoint.Code"
                    android:text="CODE"
                  /&gt;
          &lt;TextView android:layout_width="wrap_content" android:layout_height="wrap_content"
                    android:id="@+id/name"
                    android:layout_toRightOf="@id/label"
                    android:layout_toLeftOf="@id/code"
                    style="@style/ConnectionPoint.Name"
                    android:text="Some text"
                  /&gt;
      &lt;/RelativeLayout&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>And the styles:</p>
  
  <pre><code>&lt;style name="ConnectionPoint.Text" parent="android:TextAppearance"&gt;
      &lt;item name="android:layout_alignParentBottom"&gt;true&lt;/item&gt;
  &lt;/style&gt;
  &lt;style name="ConnectionPoint.Label" parent="ConnectionPoint.Text"&gt;
      &lt;item name="android:textColor"&gt;@color/from_to&lt;/item&gt;
      &lt;item name="android:layout_marginLeft"&gt;5dp&lt;/item&gt;
      &lt;item name="android:layout_marginRight"&gt;10dp&lt;/item&gt;
      &lt;item name="android:textSize"&gt;16dp&lt;/item&gt;
  &lt;/style&gt;
  &lt;style name="ConnectionPoint.Name" parent="ConnectionPoint.Text"&gt;
      &lt;item name="android:textSize"&gt;26dp&lt;/item&gt;
      &lt;item name="android:textStyle"&gt;bold&lt;/item&gt;
      &lt;item name="android:singleLine"&gt;true&lt;/item&gt;
      &lt;item name="android:ellipsize"&gt;end&lt;/item&gt;
  &lt;/style&gt;
  &lt;style name="ConnectionPoint.Code" parent="ConnectionPoint.Text"&gt;
      &lt;item name="android:textColor"&gt;@color/iata&lt;/item&gt;
      &lt;item name="android:textSize"&gt;18dp&lt;/item&gt;
      &lt;item name="android:singleLine"&gt;true&lt;/item&gt;
      &lt;item name="android:layout_alignParentRight"&gt;true&lt;/item&gt;
      &lt;item name="android:layout_marginRight"&gt;5dp&lt;/item&gt;
      &lt;item name="android:layout_marginLeft"&gt;5dp&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>But in the result TextViews are not properly aligned: </p>
  
  <p><img src="https://i.stack.imgur.com/Q14F1.png" alt="enter image description here"></p>
  
  <p>I want them to be aligned by bottom and can't understand why RelativeLayout can't do this. What should I do to make RelativeLayout align TextViews?</p>