From ac4ae8103ed1ec0bc62b81b85d74a0b38ce8eaa1 Mon Sep 17 00:00:00 2001 From: arkon Date: Sat, 2 May 2020 14:39:47 -0400 Subject: [PATCH] Force FastScrollers to be on right even in RTL (closes #3038) --- app/src/main/res/layout/chapters_controller.xml | 3 ++- app/src/main/res/layout/extension_controller.xml | 3 ++- app/src/main/res/layout/library_category.xml | 3 ++- app/src/main/res/layout/source_main_controller.xml | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/app/src/main/res/layout/chapters_controller.xml b/app/src/main/res/layout/chapters_controller.xml index 41e15b4ec9..318f119c12 100644 --- a/app/src/main/res/layout/chapters_controller.xml +++ b/app/src/main/res/layout/chapters_controller.xml @@ -39,7 +39,8 @@ android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_centerHorizontal="true" - android:layout_gravity="end" + android:layout_gravity="right" + android:layoutDirection="ltr" app:fastScrollerBubbleEnabled="false" tools:visibility="visible" /> diff --git a/app/src/main/res/layout/extension_controller.xml b/app/src/main/res/layout/extension_controller.xml index eedf561d93..1a94b6dd1b 100644 --- a/app/src/main/res/layout/extension_controller.xml +++ b/app/src/main/res/layout/extension_controller.xml @@ -22,7 +22,8 @@ android:id="@+id/fast_scroller" android:layout_width="wrap_content" android:layout_height="match_parent" - android:layout_gravity="end" + android:layout_gravity="right" + android:layoutDirection="ltr" app:fastScrollerBubbleEnabled="false" tools:visibility="visible" /> diff --git a/app/src/main/res/layout/library_category.xml b/app/src/main/res/layout/library_category.xml index 5b33d0401e..df545a5078 100644 --- a/app/src/main/res/layout/library_category.xml +++ b/app/src/main/res/layout/library_category.xml @@ -15,7 +15,8 @@ android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_centerHorizontal="true" - android:layout_gravity="end" + android:layout_gravity="right" + android:layoutDirection="ltr" app:fastScrollerBubbleEnabled="false" tools:visibility="visible" /> diff --git a/app/src/main/res/layout/source_main_controller.xml b/app/src/main/res/layout/source_main_controller.xml index 7ce5a61408..accfafcfe4 100644 --- a/app/src/main/res/layout/source_main_controller.xml +++ b/app/src/main/res/layout/source_main_controller.xml @@ -15,7 +15,8 @@ android:id="@+id/fast_scroller" android:layout_width="wrap_content" android:layout_height="match_parent" - android:layout_gravity="end" + android:layout_gravity="right" + android:layoutDirection="ltr" app:fastScrollerBubbleEnabled="false" tools:visibility="visible" />