use app:showAsAction

This commit is contained in:
weihuoya 2018-09-03 16:07:45 +08:00
parent 5f0d825f40
commit c062258719
2 changed files with 13 additions and 12 deletions

View File

@ -5,26 +5,26 @@
<item
android:id="@+id/menu_emulation_screenshot"
android:showAsAction="ifRoom"
app:showAsAction="ifRoom"
android:icon="@drawable/ic_screenshot"
android:title="@string/emulation_screenshot"/>
<item
android:id="@+id/menu_quicksave"
android:showAsAction="ifRoom"
app:showAsAction="ifRoom"
android:icon="@drawable/ic_quicksave"
android:title="@string/emulation_quicksave"/>
<item
android:id="@+id/menu_quickload"
android:showAsAction="ifRoom"
app:showAsAction="ifRoom"
android:icon="@drawable/ic_quickload"
android:title="@string/emulation_quickload"/>
<!-- Save State Slots -->
<item
android:id="@+id/menu_emulation_save_root"
android:showAsAction="never"
app:showAsAction="never"
android:title="@string/emulation_savestate">
<menu>
<item
@ -52,7 +52,7 @@
<!-- Load State Slots -->
<item
android:id="@+id/menu_emulation_load_root"
android:showAsAction="never"
app:showAsAction="never"
android:title="@string/emulation_loadstate">
<menu>
<item
@ -79,7 +79,7 @@
<item
android:id="@+id/menu_emulation_configure_controls"
android:showAsAction="never"
app:showAsAction="never"
android:title="@string/emulation_configure_controls">
<menu>
<item

View File

@ -1,29 +1,30 @@
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
tools:context="org.dolphinemu.dolphinemu.activities.EmulationActivity">
<item
android:id="@+id/menu_emulation_screenshot"
android:showAsAction="ifRoom"
app:showAsAction="ifRoom"
android:icon="@drawable/ic_screenshot"
android:title="@string/emulation_screenshot"/>
<item
android:id="@+id/menu_quicksave"
android:showAsAction="ifRoom"
app:showAsAction="ifRoom"
android:icon="@drawable/ic_quicksave"
android:title="@string/emulation_quicksave"/>
<item
android:id="@+id/menu_quickload"
android:showAsAction="ifRoom"
app:showAsAction="ifRoom"
android:icon="@drawable/ic_quickload"
android:title="@string/emulation_quickload"/>
<!-- Save State Slots -->
<item
android:id="@+id/menu_emulation_save_root"
android:showAsAction="never"
app:showAsAction="never"
android:title="@string/emulation_savestate">
<menu>
<item
@ -51,7 +52,7 @@
<!-- Load State Slots -->
<item
android:id="@+id/menu_emulation_load_root"
android:showAsAction="never"
app:showAsAction="never"
android:title="@string/emulation_loadstate">
<menu>
<item
@ -78,7 +79,7 @@
<item
android:id="@+id/menu_emulation_configure_controls"
android:showAsAction="never"
app:showAsAction="never"
android:title="@string/emulation_configure_controls">
<menu>
<item