From ff38fef2e4aad1d888ea63205202efa9f69b3ba8 Mon Sep 17 00:00:00 2001 From: Charles Lombardo Date: Sun, 6 Nov 2022 01:40:34 -0500 Subject: [PATCH] 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. --- .../app/src/main/res/layout-notouch/fragment_emulation.xml | 4 ++-- .../src/main/res/layout-port-notouch/fragment_emulation.xml | 4 ++-- 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 @@ - - + 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 @@ - - +