title: Keeping ProgressBar from overlapping the right-most view in RelativeLayout
body: <p>How can I properly keep the ProgressBar from overlapping the right-most view? Note that I do not want to use a TableLayout.  I have also already read this excellent SOF <a href="https://stackoverflow.com/questions/2099249/aligning-textviews-on-the-left-and-right-edges-in-android-layout">link</a>.</p>
  
  <p><img src="https://i.stack.imgur.com/hvqxO.png" alt="ProgressBar_overlap"></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:padding="10dp" &gt;
  
  &lt;RelativeLayout
      android:id="@+id/rel_left"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content" &gt;
  
      &lt;TextView
          android:id="@+id/left"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_alignParentLeft="true"
          android:text="LLL" /&gt;
  &lt;/RelativeLayout&gt;
  
  &lt;RelativeLayout
      android:id="@+id/RIGHT"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content" &gt;
  
      &lt;TextView
          android:id="@+id/right"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_alignParentRight="true"
          android:text="RRR" /&gt;
  &lt;/RelativeLayout&gt;
  
  &lt;ProgressBar
      android:id="@+id/pb"
      style="?android:attr/progressBarStyleHorizontal"
      android:layout_width="fill_parent"
      android:layout_height="5sp"
      android:layout_toRightOf="@+id/rel_left"
      android:max="100"
      android:progress="80" /&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>