diff options
| author | 2023-03-22 05:27:14 -0400 | |
|---|---|---|
| committer | 2023-06-03 00:05:46 -0700 | |
| commit | d9e7e71a8ebb3b4a3cc86330fb88ea605ce36b15 (patch) | |
| tree | d1e6a1dfef2dd2b597c948bff184d5bb4f4c6713 /src/android | |
| parent | android: Use ellipsis character (diff) | |
| download | yuzu-d9e7e71a8ebb3b4a3cc86330fb88ea605ce36b15.tar.gz yuzu-d9e7e71a8ebb3b4a3cc86330fb88ea605ce36b15.tar.xz yuzu-d9e7e71a8ebb3b4a3cc86330fb88ea605ce36b15.zip | |
android: Fix RTL layouts
Diffstat (limited to 'src/android')
3 files changed, 6 insertions, 1 deletions
diff --git a/src/android/app/src/main/res/layout/card_game.xml b/src/android/app/src/main/res/layout/card_game.xml index a107fec0f..fb5dd0e66 100644 --- a/src/android/app/src/main/res/layout/card_game.xml +++ b/src/android/app/src/main/res/layout/card_game.xml | |||
| @@ -55,6 +55,7 @@ | |||
| 55 | android:ellipsize="end" | 55 | android:ellipsize="end" |
| 56 | android:maxLines="2" | 56 | android:maxLines="2" |
| 57 | android:paddingTop="8dp" | 57 | android:paddingTop="8dp" |
| 58 | android:textAlignment="viewStart" | ||
| 58 | app:layout_constraintEnd_toEndOf="@+id/card_game_art" | 59 | app:layout_constraintEnd_toEndOf="@+id/card_game_art" |
| 59 | app:layout_constraintStart_toStartOf="@+id/card_game_art" | 60 | app:layout_constraintStart_toStartOf="@+id/card_game_art" |
| 60 | app:layout_constraintTop_toBottomOf="@+id/card_game_art" | 61 | app:layout_constraintTop_toBottomOf="@+id/card_game_art" |
| @@ -69,6 +70,7 @@ | |||
| 69 | android:lines="1" | 70 | android:lines="1" |
| 70 | android:maxLines="1" | 71 | android:maxLines="1" |
| 71 | android:paddingTop="8dp" | 72 | android:paddingTop="8dp" |
| 73 | android:textAlignment="viewStart" | ||
| 72 | app:layout_constraintEnd_toEndOf="@+id/card_game_art" | 74 | app:layout_constraintEnd_toEndOf="@+id/card_game_art" |
| 73 | app:layout_constraintStart_toStartOf="@+id/card_game_art" | 75 | app:layout_constraintStart_toStartOf="@+id/card_game_art" |
| 74 | app:layout_constraintTop_toBottomOf="@+id/text_game_title" | 76 | app:layout_constraintTop_toBottomOf="@+id/text_game_title" |
diff --git a/src/android/app/src/main/res/layout/list_item_setting.xml b/src/android/app/src/main/res/layout/list_item_setting.xml index 1df218302..4ff794338 100644 --- a/src/android/app/src/main/res/layout/list_item_setting.xml +++ b/src/android/app/src/main/res/layout/list_item_setting.xml | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | android:layout_marginEnd="@dimen/spacing_large" | 22 | android:layout_marginEnd="@dimen/spacing_large" |
| 23 | android:layout_marginStart="@dimen/spacing_large" | 23 | android:layout_marginStart="@dimen/spacing_large" |
| 24 | android:textSize="16sp" | 24 | android:textSize="16sp" |
| 25 | android:textAlignment="viewStart" | ||
| 25 | tools:text="Setting Name" /> | 26 | tools:text="Setting Name" /> |
| 26 | 27 | ||
| 27 | <TextView | 28 | <TextView |
| @@ -36,6 +37,7 @@ | |||
| 36 | android:layout_marginStart="@dimen/spacing_large" | 37 | android:layout_marginStart="@dimen/spacing_large" |
| 37 | android:layout_marginTop="@dimen/spacing_small" | 38 | android:layout_marginTop="@dimen/spacing_small" |
| 38 | android:visibility="visible" | 39 | android:visibility="visible" |
| 40 | android:textAlignment="viewStart" | ||
| 39 | tools:text="@string/app_disclaimer" /> | 41 | tools:text="@string/app_disclaimer" /> |
| 40 | 42 | ||
| 41 | </RelativeLayout> | 43 | </RelativeLayout> |
diff --git a/src/android/app/src/main/res/layout/list_item_setting_switch.xml b/src/android/app/src/main/res/layout/list_item_setting_switch.xml index 5315be3ae..dbed0948c 100644 --- a/src/android/app/src/main/res/layout/list_item_setting_switch.xml +++ b/src/android/app/src/main/res/layout/list_item_setting_switch.xml | |||
| @@ -28,7 +28,7 @@ | |||
| 28 | android:layout_marginStart="@dimen/spacing_large" | 28 | android:layout_marginStart="@dimen/spacing_large" |
| 29 | android:layout_marginTop="@dimen/spacing_small" | 29 | android:layout_marginTop="@dimen/spacing_small" |
| 30 | android:layout_toStartOf="@+id/switch_widget" | 30 | android:layout_toStartOf="@+id/switch_widget" |
| 31 | android:textAlignment="textStart" | 31 | android:textAlignment="viewStart" |
| 32 | tools:text="@string/frame_limit_enable_description" /> | 32 | tools:text="@string/frame_limit_enable_description" /> |
| 33 | 33 | ||
| 34 | <TextView | 34 | <TextView |
| @@ -43,6 +43,7 @@ | |||
| 43 | android:layout_marginTop="@dimen/spacing_large" | 43 | android:layout_marginTop="@dimen/spacing_large" |
| 44 | android:layout_toStartOf="@+id/switch_widget" | 44 | android:layout_toStartOf="@+id/switch_widget" |
| 45 | android:textSize="16sp" | 45 | android:textSize="16sp" |
| 46 | android:textAlignment="viewStart" | ||
| 46 | tools:text="@string/frame_limit_enable" /> | 47 | tools:text="@string/frame_limit_enable" /> |
| 47 | 48 | ||
| 48 | </RelativeLayout> | 49 | </RelativeLayout> |