mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-21 03:54:57 +00:00
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.
This commit is contained in:
parent
db679ab620
commit
ff38fef2e4
2 changed files with 4 additions and 4 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue