
Introduce MenuFragment in order to replace ActionMenu. ActionMenu was a terrible class filled with hacks. Introduce a new fragment called MenuFragment that enables the same features, plus: 1. Requiring consumers the specify the menu, which prevents issues from one-size-fits-all menus (unless absolutely necessary) 2. Fixing an issue where multiple menus appear at once
15 lines
No EOL
522 B
XML
15 lines
No EOL
522 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
|
<item
|
|
android:id="@+id/action_play_next"
|
|
android:title="@string/lbl_play_next" />
|
|
<item
|
|
android:id="@+id/action_queue_add"
|
|
android:title="@string/lbl_queue_add" />
|
|
<item
|
|
android:id="@+id/action_go_album"
|
|
android:title="@string/lbl_go_album" />
|
|
<item
|
|
android:id="@+id/action_song_detail"
|
|
android:title="@string/lbl_song_detail" />
|
|
</menu> |