diff options
| author | Charles Lombardo <clombardo169@gmail.com> | 2023-01-13 17:02:53 -0500 |
|---|---|---|
| committer | Charles Lombardo <clombardo169@gmail.com> | 2023-01-13 17:02:53 -0500 |
| commit | 4f397edab345ed9f52cf30d58631c32d8f6ce61c (patch) | |
| tree | 5c7b0fafce23f8011060adda1df564474935fe7a /Source/Android | |
| parent | f4f94396e94dad9cd4d7d7fb6defa096966a4ab8 (diff) | |
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.
Diffstat (limited to 'Source/Android')
| -rw-r--r-- | Source/Android/app/src/main/res/layout/fragment_grid_options.xml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/Android/app/src/main/res/layout/fragment_grid_options.xml b/Source/Android/app/src/main/res/layout/fragment_grid_options.xml index d00138b395..427de0110b 100644 --- a/Source/Android/app/src/main/res/layout/fragment_grid_options.xml +++ b/Source/Android/app/src/main/res/layout/fragment_grid_options.xml @@ -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" /> |
