Ich habe ein Textfeld, das ein Filmgenre enthält und ein anderes, das Filmbeschreibung enthält. Die Beschreibung wird unterhalb des Filmdaumens eingestellt, die eine feste Größe haben und die Genres sind auf der rechten Seite des Daumens. Problem ist, dass die Genres zu lang sein können, um in den Raum zu passen, den ich reserviere, und die Beschreibung überlappen. Ich muss die Beschreibung unter Daumen und Genres oder vielleicht eine andere Möglichkeit, Überschneidungen zu vermeiden.TextField überlagert ein anderes TextField - Android
film_information.xml
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:tools="http://schemas.android.com/tools">
<ImageView
android:layout_marginTop="2dp"
android:layout_marginLeft="2dp"
android:layout_width="110dp"
android:layout_height="149dp"
android:id="@+id/thumb_detail"
android:layout_alignParentTop="true"
/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceLarge"
android:layout_marginLeft="5dp"
android:id="@+id/titolo"
tools:text="Main Title"
android:layout_toRightOf="@+id/thumb_detail"
android:layout_marginTop="2dp"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/release_date"
android:layout_toRightOf="@+id/thumb_detail"
android:layout_marginTop="2dp"
android:layout_marginLeft="5dp"
android:layout_below="@+id/titolo"
tools:text="Data rilascio"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:layout_marginLeft="5dp"
android:id="@+id/author"
android:layout_toRightOf="@+id/thumb_detail"
android:layout_below="@+id/release_date"
tools:text="autore"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:layout_marginLeft="5dp"
android:id="@+id/voto"
android:layout_toRightOf="@+id/thumb_detail"
android:layout_below="@+id/author"
tools:text="Voto"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/durata"
android:layout_marginTop="2dp"
android:layout_marginLeft="5dp"
android:layout_toRightOf="@+id/thumb_detail"
android:layout_below="@+id/voto"
tools:text="Durata"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:id="@+id/generi"
android:layout_toRightOf="@+id/thumb_detail"
android:layout_below="@+id/durata"
tools:text="Genere"
android:layout_marginLeft="5dp"
/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/titDesc"
android:layout_below="@+id/thumb_detail"
android:layout_marginTop="3dp"
tools:text="Descrizione"
android:textSize="18dp"
android:layout_marginLeft="2dp"
android:textColor="#000000"
/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/descr"
android:layout_marginLeft="2dp"
android:layout_below="@+id/titDesc"
android:layout_marginTop="2dp"
/>
</RelativeLayout>
haben Sie 'LinearLayout' horizontal zu verwenden versucht, und in ihm ein' ImageView' und weiter zum nächsten zu einer anderen 'LinearLayout'-Vertikalen mit' TextView's? (nicht so flacher Weg ...) – snachmsm