Add settings button back in dot menu
This commit is contained in:
parent
da4b27f606
commit
065faf31b6
5 changed files with 41 additions and 12 deletions
|
@ -27,4 +27,7 @@
|
||||||
android:title="@string/clear_download_history"
|
android:title="@string/clear_download_history"
|
||||||
app:showAsAction="ifRoom" />
|
app:showAsAction="ifRoom" />
|
||||||
|
|
||||||
|
<item android:id="@+id/action_settings"
|
||||||
|
android:title="@string/settings"
|
||||||
|
app:showAsAction="never" />
|
||||||
</menu>
|
</menu>
|
||||||
|
|
|
@ -4,11 +4,6 @@
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
tools:context=".fragments.list.impl.ChannelFragment">
|
tools:context=".fragments.list.impl.ChannelFragment">
|
||||||
|
|
||||||
<item
|
|
||||||
android:id="@+id/menu_item_openInBrowser"
|
|
||||||
android:title="@string/open_in_browser"
|
|
||||||
app:showAsAction="never"/>
|
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_item_rss"
|
android:id="@+id/menu_item_rss"
|
||||||
android:icon="?attr/rss"
|
android:icon="?attr/rss"
|
||||||
|
@ -22,4 +17,16 @@
|
||||||
android:icon="?attr/share"
|
android:icon="?attr/share"
|
||||||
android:title="@string/share"
|
android:title="@string/share"
|
||||||
app:showAsAction="ifRoom"/>
|
app:showAsAction="ifRoom"/>
|
||||||
|
|
||||||
|
<item
|
||||||
|
android:id="@+id/action_settings"
|
||||||
|
android:orderInCategory="1"
|
||||||
|
android:title="@string/settings"
|
||||||
|
app:showAsAction="never"/>
|
||||||
|
|
||||||
|
<item
|
||||||
|
android:id="@+id/menu_item_openInBrowser"
|
||||||
|
android:orderInCategory="2"
|
||||||
|
android:title="@string/open_in_browser"
|
||||||
|
app:showAsAction="never"/>
|
||||||
</menu>
|
</menu>
|
||||||
|
|
|
@ -10,13 +10,18 @@
|
||||||
android:visible="true"
|
android:visible="true"
|
||||||
app:showAsAction="ifRoom"/>
|
app:showAsAction="ifRoom"/>
|
||||||
|
|
||||||
|
<item android:id="@+id/action_settings"
|
||||||
|
android:orderInCategory="1"
|
||||||
|
android:title="@string/settings"
|
||||||
|
app:showAsAction="never"/>
|
||||||
|
|
||||||
<item android:id="@+id/action_system_audio"
|
<item android:id="@+id/action_system_audio"
|
||||||
android:orderInCategory="996"
|
android:orderInCategory="2"
|
||||||
android:title="@string/play_queue_audio_settings"
|
android:title="@string/play_queue_audio_settings"
|
||||||
app:showAsAction="never"/>
|
app:showAsAction="never"/>
|
||||||
|
|
||||||
<item android:id="@+id/action_switch_main"
|
<item android:id="@+id/action_switch_main"
|
||||||
android:orderInCategory="999"
|
android:orderInCategory="3"
|
||||||
android:title="@string/switch_to_main"
|
android:title="@string/switch_to_main"
|
||||||
app:showAsAction="never"/>
|
app:showAsAction="never"/>
|
||||||
</menu>
|
</menu>
|
||||||
|
|
|
@ -3,11 +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/menu_item_openInBrowser"
|
|
||||||
android:title="@string/open_in_browser"
|
|
||||||
app:showAsAction="never"/>
|
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_item_share"
|
android:id="@+id/menu_item_share"
|
||||||
android:icon="?attr/share"
|
android:icon="?attr/share"
|
||||||
|
@ -21,4 +16,16 @@
|
||||||
android:visible="true"
|
android:visible="true"
|
||||||
app:showAsAction="ifRoom"
|
app:showAsAction="ifRoom"
|
||||||
tools:visible="true"/>
|
tools:visible="true"/>
|
||||||
|
|
||||||
|
<item
|
||||||
|
android:id="@+id/action_settings"
|
||||||
|
android:orderInCategory="1"
|
||||||
|
android:title="@string/settings"
|
||||||
|
app:showAsAction="never"/>
|
||||||
|
|
||||||
|
<item
|
||||||
|
android:id="@+id/menu_item_openInBrowser"
|
||||||
|
android:orderInCategory="2"
|
||||||
|
android:title="@string/open_in_browser"
|
||||||
|
app:showAsAction="never"/>
|
||||||
</menu>
|
</menu>
|
|
@ -14,8 +14,15 @@
|
||||||
android:title="@string/share"
|
android:title="@string/share"
|
||||||
app:showAsAction="ifRoom"/>
|
app:showAsAction="ifRoom"/>
|
||||||
|
|
||||||
|
<item
|
||||||
|
android:id="@+id/action_settings"
|
||||||
|
android:orderInCategory="1"
|
||||||
|
android:title="@string/settings"
|
||||||
|
app:showAsAction="never"/>
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_item_openInBrowser"
|
android:id="@+id/menu_item_openInBrowser"
|
||||||
|
android:orderInCategory="2"
|
||||||
android:title="@string/open_in_browser"
|
android:title="@string/open_in_browser"
|
||||||
app:showAsAction="never"/>
|
app:showAsAction="never"/>
|
||||||
</menu>
|
</menu>
|
||||||
|
|
Loading…
Reference in a new issue