Skip to content

Commit 2b3c186

Browse files
committed
always use notouch layouts
1 parent 57dce8b commit 2b3c186

File tree

4 files changed

+6
-91
lines changed

4 files changed

+6
-91
lines changed

Source/Android/app/src/main/res/layout-notouch/fragment_emulation.xml

-14
This file was deleted.

Source/Android/app/src/main/res/layout-port-notouch/fragment_emulation.xml

-14
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,14 @@
11
<FrameLayout
22
xmlns:android="http://schemas.android.com/apk/res/android"
3-
xmlns:tools="http://schemas.android.com/tools"
43
android:id="@+id/layout_emulation"
5-
android:layout_width="match_parent"
64
android:layout_height="match_parent"
7-
android:keepScreenOn="true"
8-
tools:context="org.dolphinemu.dolphinemu.fragments.EmulationFragment">
5+
android:layout_width="match_parent">
96

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"
369
android:layout_height="match_parent"
3710
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" />
4913

5014
</FrameLayout>
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,14 @@
11
<FrameLayout
22
xmlns:android="http://schemas.android.com/apk/res/android"
3-
xmlns:tools="http://schemas.android.com/tools"
43
android:id="@+id/layout_emulation"
5-
android:layout_width="match_parent"
64
android:layout_height="match_parent"
7-
android:keepScreenOn="true"
8-
tools:context="org.dolphinemu.dolphinemu.fragments.EmulationFragment">
5+
android:layout_width="match_parent">
96

10-
<!-- This is what everything is rendered to during emulation -->
117
<SurfaceView
128
android:id="@+id/surface_emulation"
139
android:layout_height="match_parent"
1410
android:layout_width="match_parent"
1511
android:focusable="false"
1612
android:focusableInTouchMode="false" />
1713

18-
<!-- This is the onscreen input overlay -->
19-
<org.dolphinemu.dolphinemu.overlay.InputOverlay
20-
android:id="@+id/surface_input_overlay"
21-
android:layout_height="match_parent"
22-
android:layout_width="match_parent"
23-
android:focusable="true"
24-
android:focusableInTouchMode="true" />
25-
26-
<Button
27-
android:id="@+id/done_control_config"
28-
android:layout_width="wrap_content"
29-
android:layout_height="wrap_content"
30-
android:layout_gravity="center"
31-
android:padding="@dimen/spacing_small"
32-
android:text="@string/emulation_done"
33-
android:visibility="gone" />
34-
3514
</FrameLayout>

0 commit comments

Comments
 (0)