mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-04-29 06:03:19 +00:00
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:
parent
f22417e7e7
commit
a392a06cc0
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_item_feed_toggle_played_items"
|
android:id="@+id/menu_item_feed_toggle_played_items"
|
||||||
android:orderInCategory="1"
|
android:orderInCategory="2"
|
||||||
android:checkable="true"
|
android:checkable="true"
|
||||||
android:checked="true"
|
android:checked="true"
|
||||||
android:icon="@drawable/ic_visibility_on"
|
android:icon="@drawable/ic_visibility_on"
|
||||||
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_item_feed_toggle_future_items"
|
android:id="@+id/menu_item_feed_toggle_future_items"
|
||||||
android:orderInCategory="2"
|
android:orderInCategory="3"
|
||||||
android:checkable="true"
|
android:checkable="true"
|
||||||
android:checked="true"
|
android:checked="true"
|
||||||
android:icon="@drawable/ic_history_future"
|
android:icon="@drawable/ic_history_future"
|
||||||
@ -24,6 +24,6 @@
|
|||||||
android:id="@+id/menu_item_feed_help"
|
android:id="@+id/menu_item_feed_help"
|
||||||
android:icon="@drawable/ic_help"
|
android:icon="@drawable/ic_help"
|
||||||
android:title="@string/help"
|
android:title="@string/help"
|
||||||
android:orderInCategory="3"
|
android:orderInCategory="4"
|
||||||
app:showAsAction="ifRoom" />
|
app:showAsAction="ifRoom" />
|
||||||
</menu>
|
</menu>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user