|
1 | 1 | <FrameLayout
|
2 | 2 | xmlns:android="http://schemas.android.com/apk/res/android"
|
3 |
| - xmlns:tools="http://schemas.android.com/tools" |
4 | 3 | android:id="@+id/layout_emulation"
|
5 |
| - android:layout_width="match_parent" |
6 | 4 | android:layout_height="match_parent"
|
7 |
| - android:keepScreenOn="true" |
8 |
| - tools:context="org.dolphinemu.dolphinemu.fragments.EmulationFragment"> |
| 5 | + android:layout_width="match_parent"> |
9 | 6 |
|
10 |
| - <!-- Places the emulation surface to the top half of the screen --> |
11 |
| - <LinearLayout |
12 |
| - android:layout_width="match_parent" |
13 |
| - android:layout_height="match_parent" |
14 |
| - android:orientation="vertical" |
15 |
| - android:baselineAligned="false"> |
16 |
| - |
17 |
| - <!-- This is what everything is rendered to during emulation --> |
18 |
| - <SurfaceView |
19 |
| - android:id="@+id/surface_emulation" |
20 |
| - android:layout_height="0dp" |
21 |
| - android:layout_width="wrap_content" |
22 |
| - android:layout_weight="1" |
23 |
| - android:focusable="false" |
24 |
| - android:focusableInTouchMode="false" /> |
25 |
| - |
26 |
| - <RelativeLayout |
27 |
| - android:layout_width="wrap_content" |
28 |
| - android:layout_height="0dp" |
29 |
| - android:layout_weight="1" /> |
30 |
| - |
31 |
| - </LinearLayout> |
32 |
| - |
33 |
| - <!-- This is the onscreen input overlay --> |
34 |
| - <org.dolphinemu.dolphinemu.overlay.InputOverlay |
35 |
| - android:id="@+id/surface_input_overlay" |
| 7 | + <SurfaceView |
| 8 | + android:id="@+id/surface_emulation" |
36 | 9 | android:layout_height="match_parent"
|
37 | 10 | android:layout_width="match_parent"
|
38 |
| - android:focusable="true" |
39 |
| - android:focusableInTouchMode="true" /> |
40 |
| - |
41 |
| - <Button |
42 |
| - android:id="@+id/done_control_config" |
43 |
| - android:layout_width="wrap_content" |
44 |
| - android:layout_height="wrap_content" |
45 |
| - android:layout_gravity="center" |
46 |
| - android:padding="@dimen/spacing_small" |
47 |
| - android:text="@string/emulation_done" |
48 |
| - android:visibility="gone" /> |
| 11 | + android:focusable="false" |
| 12 | + android:focusableInTouchMode="false" /> |
49 | 13 |
|
50 | 14 | </FrameLayout>
|
0 commit comments