Adjust download menu item positioning (fixes #6932)

This commit is contained in:
arkon 2022-04-24 15:55:24 -04:00
parent 7773deabc0
commit f6fdb12db2
3 changed files with 26 additions and 24 deletions

View file

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

View file

@ -11,14 +11,6 @@
app:showAsAction="always" app:showAsAction="always"
tools:ignore="AlwaysShowAction" /> 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 <item
android:id="@+id/action_mark_as_read" android:id="@+id/action_mark_as_read"
android:icon="@drawable/ic_done_24dp" android:icon="@drawable/ic_done_24dp"
@ -35,6 +27,14 @@
app:showAsAction="always" app:showAsAction="always"
tools:ignore="AlwaysShowAction" /> 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 <item
android:id="@+id/action_delete" android:id="@+id/action_delete"
android:icon="@drawable/ic_delete_24dp" android:icon="@drawable/ic_delete_24dp"

View file

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