Fix feed menu items order in category to leave space for search

The search menu item gets added in first place when the feed fragment is added as a tab to the main fragment. So the main fragment's menu items' orderInCategory should start from 2.
This commit is contained in:
Stypox 2022-07-13 11:04:40 +02:00
parent f22417e7e7
commit a392a06cc0
No known key found for this signature in database
GPG Key ID: 4BDF1B40A49FDD23
1 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@
<item
android:id="@+id/menu_item_feed_toggle_played_items"
android:orderInCategory="1"
android:orderInCategory="2"
android:checkable="true"
android:checked="true"
android:icon="@drawable/ic_visibility_on"
@ -13,7 +13,7 @@
<item
android:id="@+id/menu_item_feed_toggle_future_items"
android:orderInCategory="2"
android:orderInCategory="3"
android:checkable="true"
android:checked="true"
android:icon="@drawable/ic_history_future"
@ -24,6 +24,6 @@
android:id="@+id/menu_item_feed_help"
android:icon="@drawable/ic_help"
android:title="@string/help"
android:orderInCategory="3"
android:orderInCategory="4"
app:showAsAction="ifRoom" />
</menu>