Comment puis-je empêcher les vues de chevauchement relatif de la mise en page?

Droit maintenant, j'ai deux textViews un sur alignés à gauche de la relative mise en page et celui qui est aligné à droite. Le texte sur la gauche est beaucoup plus longue que celle qui est sur la droite. Dans certains cas, le texte sur la gauche est deux lignes. Lorsque cela arrive, ce texte chevauche le texte est aligné à droite.

Est-il de toute façon à empêcher cela? Ou est-il un moyen de dire que si le texte sur la gauche, deux lignes, de mettre le texte sur la droite sur la deuxième ligne?

J'ai de la difficulté avec le nom et le temps d'ici-bas:

  <RelativeLayout android:layout_width="wrap_content" android:id="@+id/relativeLayout" android:layout_height="wrap_content">

  <TextView android:text="TextView" android:id="@+id/name" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="10sp" android:textStyle="bold" android:textSize="16sp"></TextView>
  <TextView android:layout_width="wrap_content" android:id="@+id/address" android:text="address" android:layout_height="wrap_content" android:layout_below="@+id/name" android:layout_alignLeft="@+id/name" android:layout_marginLeft="30sp"></TextView>
  <TextView android:layout_width="wrap_content" android:layout_toRightOf="@+id/address" android:text="" android:layout_height="wrap_content" android:layout_alignTop="@+id/address" android:layout_alignBottom="@+id/address" android:id="@+id/crossStreet"></TextView>
  <TextView android:layout_width="wrap_content" android:id="@+id/time" android:text="Time" android:layout_height="wrap_content" android:layout_alignParentRight="true" android:layout_marginRight="10sp"></TextView>

</RelativeLayout>

OriginalL'auteur mergesort | 2011-07-05