Sfoglia il codice sorgente

Force FastScrollers to be on right even in RTL (closes #3038)

arkon 4 anni fa
parent
commit
ac4ae8103e

+ 2 - 1
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" />
 

+ 2 - 1
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" />
 

+ 2 - 1
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" />
 

+ 2 - 1
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" />