Android: Add Pause / Unpause Emulation Toggle
This commit is contained in:
1 parent
3d680ff2f6
commit
12d277b4a0
7 files changed
+143
-5
No files matched your search
@@ -27,6 +27,17 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<Button
|
||||
android:id="@+id/menu_pause_emulation"
|
||||
android:text="@string/pause_emulation"
|
||||
style="@style/InGameMenuOption"/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/menu_unpause_emulation"
|
||||
android:text="@string/unpause_emulation"
|
||||
style="@style/InGameMenuOption"
|
||||
android:visibility="gone"/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/menu_take_screenshot"
|
||||
android:text="@string/emulation_screenshot"
|
||||
@@ -75,4 +86,4 @@
|
||||
|
||||
</ScrollView>
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
@@ -3,6 +3,19 @@
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
tools:context="org.dolphinemu.dolphinemu.activities.EmulationActivity">
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_emulation_pause"
|
||||
app:showAsAction="ifRoom"
|
||||
android:icon="@drawable/lb_ic_pause"
|
||||
android:title="@string/pause_emulation"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_emulation_unpause"
|
||||
app:showAsAction="ifRoom"
|
||||
android:icon="@drawable/lb_ic_play"
|
||||
android:title="@string/unpause_emulation"
|
||||
android:visible="false"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_emulation_screenshot"
|
||||
app:showAsAction="ifRoom"
|
||||
|
||||
@@ -3,6 +3,19 @@
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
tools:context="org.dolphinemu.dolphinemu.activities.EmulationActivity">
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_emulation_pause"
|
||||
app:showAsAction="ifRoom"
|
||||
android:icon="@drawable/lb_ic_pause"
|
||||
android:title="@string/pause_emulation"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_emulation_unpause"
|
||||
app:showAsAction="ifRoom"
|
||||
android:icon="@drawable/lb_ic_play"
|
||||
android:title="@string/unpause_emulation"
|
||||
android:visible="false"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_emulation_screenshot"
|
||||
app:showAsAction="ifRoom"
|
||||
|
||||
@@ -324,6 +324,8 @@
|
||||
<string name="game_details_no_compression">No Compression</string>
|
||||
|
||||
<!-- Emulation Menu -->
|
||||
<string name="pause_emulation">Pause Emulation</string>
|
||||
<string name="unpause_emulation">Unpause Emulation</string>
|
||||
<string name="emulation_screenshot">Take Screenshot</string>
|
||||
<string name="emulation_savestate">Save State</string>
|
||||
<string name="emulation_loadstate">Load State</string>
|
||||
|
||||
Reference in new issue
Block a user