title: Why TextViews running into each other in RelativeLayout
body: <p>I have a problem with two Textviews on the same height in a RelativeLayout running into each other. </p>
  
  <p>I use the following Layout. </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"&gt;
  
  &lt;ImageView 
         android:id="@+id/logo" 
         android:layout_width="wrap_content"
         android:layout_height="wrap_content" 
         android:adjustViewBounds="true"
         android:scaleType="centerInside"
         android:src="@drawable/icon" /&gt;
  
  &lt;TextView 
         android:id="@+id/name"
         android:layout_width="fill_parent"
         android:layout_height="wrap_content" 
         android:text="NameNameNameNameNameNameName"
         android:layout_alignParentTop="true"
         android:layout_toRightOf="@id/logo"
         android:gravity="clip_horizontal" 
         android:lines="1" /&gt;
  
  &lt;TextView 
        android:id="@+id/information"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="Distance"
        android:layout_alignParentRight="true"
        android:layout_alignParentTop="true" /&gt;
  
  &lt;TextView
        android:id="@+id/nrcoupons"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="Number"
        android:layout_alignRight="@id/information"
        android:layout_alignBottom="@id/logo" /&gt;
  
  &lt;TextView
        android:id="@+id/subcategory"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content" 
        android:text="Subcategory"
        android:layout_alignLeft="@id/name"
        android:layout_alignBottom="@id/logo" /&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>This gives me this view: </p>
  
  <p><a href="http://janusz.de/~janusz/view.png" rel="nofollow noreferrer">alt text http://janusz.de/~janusz/view.png</a></p>
  
  <p>Everything is as I need it except the two textviews name and information are displayed on the same screen space with the one on top of the other.  </p>
  
  <p>How can I avoid this? </p>