From 3e1a096f7f55caa89754d3e1250a53e305e6dbbc Mon Sep 17 00:00:00 2001 From: Charles Lombardo Date: Mon, 23 Jan 2023 21:55:27 -0500 Subject: [PATCH] Android: Fix rtl layout in convert activity --- .../app/src/main/res/layout-w680dp-land/activity_convert.xml | 1 + Source/Android/app/src/main/res/layout/activity_convert.xml | 1 + Source/Android/app/src/main/res/layout/fragment_convert.xml | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/Android/app/src/main/res/layout-w680dp-land/activity_convert.xml b/Source/Android/app/src/main/res/layout-w680dp-land/activity_convert.xml index 9b4760b04b..e265ba986a 100644 --- a/Source/Android/app/src/main/res/layout-w680dp-land/activity_convert.xml +++ b/Source/Android/app/src/main/res/layout-w680dp-land/activity_convert.xml @@ -50,6 +50,7 @@ android:layout_width="0dp" android:layout_height="wrap_content" android:text="@string/convert_format_info" + android:textAlignment="viewStart" app:layout_constraintWidth_max="400dp" app:layout_constraintHorizontal_bias="1.0" app:layout_constraintTop_toTopOf="parent" diff --git a/Source/Android/app/src/main/res/layout/activity_convert.xml b/Source/Android/app/src/main/res/layout/activity_convert.xml index 66ac49594a..371c2fa8d7 100644 --- a/Source/Android/app/src/main/res/layout/activity_convert.xml +++ b/Source/Android/app/src/main/res/layout/activity_convert.xml @@ -71,6 +71,7 @@ android:layout_height="wrap_content" android:layout_marginTop="24dp" android:text="@string/convert_format_info" + android:textAlignment="viewStart" app:layout_constraintWidth_max="400dp" app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toEndOf="parent" diff --git a/Source/Android/app/src/main/res/layout/fragment_convert.xml b/Source/Android/app/src/main/res/layout/fragment_convert.xml index cba11a8082..de009fab83 100644 --- a/Source/Android/app/src/main/res/layout/fragment_convert.xml +++ b/Source/Android/app/src/main/res/layout/fragment_convert.xml @@ -81,8 +81,9 @@ android:layout_height="0dp" android:layout_marginStart="@dimen/spacing_small" android:layout_marginEnd="@dimen/spacing_large" - android:gravity="center_vertical" + android:gravity="start|center_vertical" android:text="@string/convert_remove_junk_data" + android:textAlignment="viewStart" app:layout_constraintBottom_toBottomOf="@id/switch_remove_junk_data" app:layout_constraintEnd_toStartOf="@+id/switch_remove_junk_data" app:layout_constraintStart_toStartOf="parent"