Skip to content

Commit a392a06

Browse files
committed
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.
1 parent f22417e commit a392a06

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

app/src/main/res/menu/menu_feed_fragment.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<item
66
android:id="@+id/menu_item_feed_toggle_played_items"
7-
android:orderInCategory="1"
7+
android:orderInCategory="2"
88
android:checkable="true"
99
android:checked="true"
1010
android:icon="@drawable/ic_visibility_on"
@@ -13,7 +13,7 @@
1313

1414
<item
1515
android:id="@+id/menu_item_feed_toggle_future_items"
16-
android:orderInCategory="2"
16+
android:orderInCategory="3"
1717
android:checkable="true"
1818
android:checked="true"
1919
android:icon="@drawable/ic_history_future"
@@ -24,6 +24,6 @@
2424
android:id="@+id/menu_item_feed_help"
2525
android:icon="@drawable/ic_help"
2626
android:title="@string/help"
27-
android:orderInCategory="3"
27+
android:orderInCategory="4"
2828
app:showAsAction="ifRoom" />
2929
</menu>

0 commit comments

Comments
 (0)