summaryrefslogtreecommitdiff
path: root/Source/Android/app/src
diff options
context:
space:
mode:
authorCharles Lombardo <clombardo169@gmail.com>2022-11-06 01:40:34 -0500
committerCharles Lombardo <clombardo169@gmail.com>2022-11-06 01:51:12 -0500
commitff38fef2e4aad1d888ea63205202efa9f69b3ba8 (patch)
treeb48ec212aaba5720728c53daec98187aec00ebe9 /Source/Android/app/src
parentdb679ab6203b66daed19f467e4e260d97b022249 (diff)
Android: Use FrameLayout as root for notouch emulation layout
When inflating this layout, the layout inflater doesn't expect a View and rather a descendant of ViewGroup. This resulted in a crash which is resolved by using a FrameLayout instead.
Diffstat (limited to 'Source/Android/app/src')
-rw-r--r--Source/Android/app/src/main/res/layout-notouch/fragment_emulation.xml4
-rw-r--r--Source/Android/app/src/main/res/layout-port-notouch/fragment_emulation.xml4
2 files changed, 4 insertions, 4 deletions
diff --git a/Source/Android/app/src/main/res/layout-notouch/fragment_emulation.xml b/Source/Android/app/src/main/res/layout-notouch/fragment_emulation.xml
index 28746017a5..0d31600422 100644
--- a/Source/Android/app/src/main/res/layout-notouch/fragment_emulation.xml
+++ b/Source/Android/app/src/main/res/layout-notouch/fragment_emulation.xml
@@ -1,4 +1,4 @@
-<View
+<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/layout_emulation"
android:layout_height="match_parent"
@@ -11,4 +11,4 @@
android:focusable="false"
android:focusableInTouchMode="false" />
-</View>
+</FrameLayout>
diff --git a/Source/Android/app/src/main/res/layout-port-notouch/fragment_emulation.xml b/Source/Android/app/src/main/res/layout-port-notouch/fragment_emulation.xml
index 28746017a5..0d31600422 100644
--- a/Source/Android/app/src/main/res/layout-port-notouch/fragment_emulation.xml
+++ b/Source/Android/app/src/main/res/layout-port-notouch/fragment_emulation.xml
@@ -1,4 +1,4 @@
-<View
+<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/layout_emulation"
android:layout_height="match_parent"
@@ -11,4 +11,4 @@
android:focusable="false"
android:focusableInTouchMode="false" />
-</View>
+</FrameLayout>