Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Merge pull request #9004 from JosJuice/android-menu-back
Android: Use Back to open the emulation menu on all devices
- Loading branch information
Showing
18 changed files
with
344 additions
and
564 deletions.
There are no files selected for viewing
267 changes: 105 additions & 162 deletions
267
Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/activities/EmulationActivity.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
7 changes: 7 additions & 0 deletions
7
Source/Android/app/src/main/res/layout-port-notouch/fragment_emulation.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| <SurfaceView xmlns:android="http://schemas.android.com/apk/res/android" | ||
| android:id="@+id/surface_emulation" | ||
| android:layout_height="match_parent" | ||
| android:layout_width="match_parent" | ||
| android:focusable="false" | ||
| android:focusableInTouchMode="false" | ||
| /> |
38 changes: 0 additions & 38 deletions
38
Source/Android/app/src/main/res/layout-television/activity_emulation.xml
This file was deleted.
Oops, something went wrong.
25 changes: 25 additions & 0 deletions
25
Source/Android/app/src/main/res/layout/activity_emulation.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,36 @@ | ||
| <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
| android:layout_width="match_parent" | ||
| android:layout_height="match_parent" | ||
| android:keepScreenOn="true" | ||
| xmlns:tools="http://schemas.android.com/tools" | ||
| android:id="@+id/frame_content"> | ||
|
|
||
| <FrameLayout | ||
| android:id="@+id/frame_emulation_fragment" | ||
| android:layout_width="match_parent" | ||
| android:layout_height="match_parent"/> | ||
|
|
||
| <org.dolphinemu.dolphinemu.ui.NVidiaShieldWorkaroundView | ||
| android:layout_width="match_parent" | ||
| android:layout_height="match_parent"/> | ||
|
|
||
| <LinearLayout | ||
| android:layout_width="match_parent" | ||
| android:layout_height="match_parent" | ||
| android:orientation="horizontal" | ||
| android:baselineAligned="false"> | ||
|
|
||
| <FrameLayout | ||
| android:id="@+id/frame_menu" | ||
| android:layout_width="260dp" | ||
| android:layout_height="match_parent" | ||
| tools:layout="@layout/fragment_ingame_menu"/> | ||
|
|
||
| <FrameLayout | ||
| android:id="@+id/frame_submenu" | ||
| android:layout_width="match_parent" | ||
| android:layout_height="match_parent"/> | ||
|
|
||
| </LinearLayout> | ||
|
|
||
| </FrameLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.