From d9e7e71a8ebb3b4a3cc86330fb88ea605ce36b15 Mon Sep 17 00:00:00 2001 From: Charles Lombardo Date: Wed, 22 Mar 2023 05:27:14 -0400 Subject: android: Fix RTL layouts --- src/android/app/src/main/res/layout/card_game.xml | 2 ++ src/android/app/src/main/res/layout/list_item_setting.xml | 2 ++ src/android/app/src/main/res/layout/list_item_setting_switch.xml | 3 ++- 3 files changed, 6 insertions(+), 1 deletion(-) (limited to 'src') 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 @@ android:ellipsize="end" android:maxLines="2" android:paddingTop="8dp" + android:textAlignment="viewStart" app:layout_constraintEnd_toEndOf="@+id/card_game_art" app:layout_constraintStart_toStartOf="@+id/card_game_art" app:layout_constraintTop_toBottomOf="@+id/card_game_art" @@ -69,6 +70,7 @@ android:lines="1" android:maxLines="1" android:paddingTop="8dp" + android:textAlignment="viewStart" app:layout_constraintEnd_toEndOf="@+id/card_game_art" app:layout_constraintStart_toStartOf="@+id/card_game_art" 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 @@ android:layout_marginEnd="@dimen/spacing_large" android:layout_marginStart="@dimen/spacing_large" android:textSize="16sp" + android:textAlignment="viewStart" tools:text="Setting Name" /> 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 @@ android:layout_marginStart="@dimen/spacing_large" android:layout_marginTop="@dimen/spacing_small" android:layout_toStartOf="@+id/switch_widget" - android:textAlignment="textStart" + android:textAlignment="viewStart" tools:text="@string/frame_limit_enable_description" /> -- cgit v1.2.3