Android: Fix grid options text borders

Previously on displays with a small width, text would appear under the switch. Now the text will break into a new line.
This commit is contained in:
Charles Lombardo 2023-01-13 17:02:53 -05:00
parent f4f94396e9
commit 4f397edab3

View File

@ -28,11 +28,13 @@
<TextView
android:id="@+id/text_download_covers"
android:layout_width="wrap_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginEnd="24dp"
android:layout_marginStart="24dp"
android:text="@string/download_game_covers"
app:layout_constraintBottom_toBottomOf="@+id/switch_download_covers"
app:layout_constraintEnd_toStartOf="@+id/switch_download_covers"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@+id/switch_download_covers" />
@ -59,11 +61,13 @@
<TextView
android:id="@+id/text_show_titles"
android:layout_width="wrap_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginEnd="24dp"
android:layout_marginStart="24dp"
android:text="@string/show_titles_in_game_list"
app:layout_constraintBottom_toBottomOf="@+id/switch_show_titles"
app:layout_constraintEnd_toStartOf="@+id/switch_show_titles"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@+id/switch_show_titles" />