Explorar o código

Adjust download menu item positioning (fixes #6932)

arkon %!s(int64=2) %!d(string=hai) anos
pai
achega
f6fdb12db2

+ 9 - 8
app/src/main/res/menu/chapter_selection.xml

@@ -3,14 +3,6 @@
     xmlns:app="http://schemas.android.com/apk/res-auto"
     xmlns:tools="http://schemas.android.com/tools">
 
-    <item
-        android:id="@+id/action_download"
-        android:icon="@drawable/ic_get_app_24dp"
-        android:title="@string/action_download"
-        app:iconTint="?attr/colorOnSurface"
-        app:showAsAction="always"
-        tools:ignore="AlwaysShowAction" />
-
     <item
         android:id="@+id/action_bookmark"
         android:icon="@drawable/ic_bookmark_border_24dp"
@@ -50,6 +42,15 @@
         app:iconTint="?attr/colorOnSurface"
         app:showAsAction="always"
         tools:ignore="AlwaysShowAction" />
+
+    <item
+        android:id="@+id/action_download"
+        android:icon="@drawable/ic_get_app_24dp"
+        android:title="@string/action_download"
+        app:iconTint="?attr/colorOnSurface"
+        app:showAsAction="always"
+        tools:ignore="AlwaysShowAction" />
+
     <item
         android:id="@+id/action_delete"
         android:icon="@drawable/ic_delete_24dp"

+ 8 - 8
app/src/main/res/menu/library_selection.xml

@@ -11,14 +11,6 @@
         app:showAsAction="always"
         tools:ignore="AlwaysShowAction" />
 
-    <item
-        android:id="@+id/action_download_unread"
-        android:icon="@drawable/ic_get_app_24dp"
-        android:title="@string/action_download_unread"
-        app:iconTint="?attr/colorOnSurface"
-        app:showAsAction="always"
-        tools:ignore="AlwaysShowAction" />
-
     <item
         android:id="@+id/action_mark_as_read"
         android:icon="@drawable/ic_done_24dp"
@@ -35,6 +27,14 @@
         app:showAsAction="always"
         tools:ignore="AlwaysShowAction" />
 
+    <item
+        android:id="@+id/action_download_unread"
+        android:icon="@drawable/ic_get_app_24dp"
+        android:title="@string/action_download_unread"
+        app:iconTint="?attr/colorOnSurface"
+        app:showAsAction="always"
+        tools:ignore="AlwaysShowAction" />
+
     <item
         android:id="@+id/action_delete"
         android:icon="@drawable/ic_delete_24dp"

+ 9 - 8
app/src/main/res/menu/updates_chapter_selection.xml

@@ -3,14 +3,6 @@
     xmlns:android="http://schemas.android.com/apk/res/android"
     xmlns:app="http://schemas.android.com/apk/res-auto">
 
-    <item
-        android:id="@+id/action_download"
-        android:icon="@drawable/ic_get_app_24dp"
-        android:title="@string/action_download"
-        app:iconTint="?attr/colorOnSurface"
-        app:showAsAction="always"
-        tools:ignore="AlwaysShowAction" />
-
     <item
         android:id="@+id/action_bookmark"
         android:icon="@drawable/ic_bookmark_border_24dp"
@@ -42,6 +34,15 @@
         app:iconTint="?attr/colorOnSurface"
         app:showAsAction="always"
         tools:ignore="AlwaysShowAction" />
+
+    <item
+        android:id="@+id/action_download"
+        android:icon="@drawable/ic_get_app_24dp"
+        android:title="@string/action_download"
+        app:iconTint="?attr/colorOnSurface"
+        app:showAsAction="always"
+        tools:ignore="AlwaysShowAction" />
+
     <item
         android:id="@+id/action_delete"
         android:icon="@drawable/ic_delete_24dp"