title: how to ensure the min space between two views in Relativelayout
body: <p>I have two TextViews in a RelativeLayout. One to the left and the other one to the right. Both of them shows a string which may become very long. I want to make a min space of 10dp between two TextViews and let the right one have ellipse if no enough space. </p>
  
  <p>I have below layout definition which does not work. The right TextView may cover the first one if it is very lone.</p>
  
  <pre><code>    &lt;RelativeLayout
          android:id="@+id/container"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:layout_centerVertical="true"
          android:layout_marginLeft="3dp"&gt;
          &lt;TextView
              android:id="@+id/left_one"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_alignParentBottom="true"
              android:layout_marginBottom="7dp"
              android:gravity="bottom"
              android:text=""/&gt;
  
          &lt;TextView
              android:id="@+id/right_one"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_alignParentBottom="true"
              android:layout_marginBottom="8dp"
              android:layout_alignParentRight="true"
              android:layout_marginRight="10dp"
              android:gravity="center"
              android:maxLines="1"
              android:ellipsize="end"
              /&gt;
  
  
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>The only way I can do is to set the max length to the right one. But this is not what I want because if the left one is short, i want the right one to be longer than the maxWidth. </p>
  
  <p>And when I added "toRightOf" this work but the textView width becomes too long for a short string shown in it. That is not acceptable</p>