Note that there are some explanatory texts on larger screens.

plurals
  1. PORelativeLayout TextView overlay
    text
    copied!<p>This is my current ListView item layout:</p> <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent" android:paddingTop="6dp" android:paddingRight="6dp" android:paddingBottom="6dp"&gt; &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:paddingLeft="6dp"&gt; &lt;TextView android:id="@+id/departure_line" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:textSize="16sp" android:textStyle="bold" android:shadowColor="#000000" android:shadowDx="1" android:shadowDy="1" android:shadowRadius="1" android:paddingLeft="3dp" android:paddingRight="3dp" /&gt; &lt;/RelativeLayout&gt; &lt;TextView android:id="@+id/departure_destination" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginLeft="52dp" android:background="#777777" android:singleLine="true" android:ellipsize="end" android:textSize="16sp" /&gt; &lt;TextView android:id="@+id/departure_time" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" android:textSize="16sp" /&gt; &lt;/RelativeLayout&gt; </code></pre> <p>My problem is that the destination TextView overlays the time TextView as you can see on the screen. How to prevent that?</p> <p><a href="http://www.abload.de/image.php?img=screensk6y.png" rel="nofollow">http://www.abload.de/image.php?img=screensk6y.png</a></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload