title: Android relative layout, right align a textview below another textview
body: <p>I've been struggling with this problem in layout for sometime now. To make things simpler, I've a screenshot.</p>
  
  <p><img src="https://i.stack.imgur.com/gU4W9.png" alt="enter image description here"></p>
  
  <p>I want to right align that textview which has content "3 hours ago" to the right. For this TextView I've layout_below property set to the Linearlayout above(contains two textviews which has contents 36.90 &amp; deg celius as in the picture).</p>
  
  <p>I tried android:layout_alignRight="@+id/rl1", It aligns the textview to the right. But when the content of hours ago TextView is bigger than that above, It get clipped off().</p>
  
  <p>Someone, Please help me.</p>
  
  <p>Here's code( not the whole code). just the part on the right side</p>
  
  <pre><code>&lt;RelativeLayout
              android:layout_width="wrap_content"
              android:layout_height="match_parent"
              &gt;
              &lt;LinearLayout
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_centerVertical="true"
                  android:id="@+id/rl1"&gt;
                  &lt;TextView
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:id="@+id/subVitalValueTextView"
                      android:gravity="center_vertical"
                      android:text="5.05"
                      android:textSize="22dp"/&gt;
  
                  &lt;TextView
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:id="@+id/subVitalUnitTextView"
                      android:text="feet"
                      android:paddingLeft="5dp"/&gt;
              &lt;/LinearLayout&gt;
              &lt;TextView
                  android:layout_marginTop="-6dp"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:id="@+id/subVitalTimeAgoTextView"
                  android:textAppearance="?android:attr/textAppearanceSmall"
                  android:text="5 hours ago"
                  android:fontFamily="sans-serif-thin"
                  android:layout_below="@+id/rl1"/&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>