VERY experimental Nintendo Switch 2 emulator
C++
android: Allow controller to focus on toolbar menu items
t895d04853839dfe
diff --git a/src/android/app/src/main/res/layout-w600dp/fragment_about.xml b/src/android/app/src/main/res/layout-w600dp/fragment_about.xmlindex 655e49219c..221428740b 100644--- a/src/android/app/src/main/res/layout-w600dp/fragment_about.xml+++ b/src/android/app/src/main/res/layout-w600dp/fragment_about.xml@@ -11,12 +11,14 @@android:id="@+id/appbar_about"android:layout_width="match_parent"android:layout_height="wrap_content"- android:fitsSystemWindows="true">+ android:fitsSystemWindows="true"+ android:touchscreenBlocksFocus="false"><com.google.android.material.appbar.MaterialToolbarandroid:id="@+id/toolbar_about"android:layout_width="match_parent"android:layout_height="?attr/actionBarSize"+ android:touchscreenBlocksFocus="false"app:navigationIcon="@drawable/ic_back"app:title="@string/about" />diff --git a/src/android/app/src/main/res/layout/fragment_about.xml b/src/android/app/src/main/res/layout/fragment_about.xmlindex 38090fa50b..1520bcceeb 100644--- a/src/android/app/src/main/res/layout/fragment_about.xml+++ b/src/android/app/src/main/res/layout/fragment_about.xml@@ -11,12 +11,14 @@android:id="@+id/appbar_about"android:layout_width="match_parent"android:layout_height="wrap_content"- android:fitsSystemWindows="true">+ android:fitsSystemWindows="true"+ android:touchscreenBlocksFocus="false"><com.google.android.material.appbar.MaterialToolbarandroid:id="@+id/toolbar_about"android:layout_width="match_parent"android:layout_height="?attr/actionBarSize"+ android:touchscreenBlocksFocus="false"app:title="@string/about"app:navigationIcon="@drawable/ic_back" />diff --git a/src/android/app/src/main/res/layout/fragment_addons.xml b/src/android/app/src/main/res/layout/fragment_addons.xmlindex a25e82766c..d8d522dca1 100644--- a/src/android/app/src/main/res/layout/fragment_addons.xml+++ b/src/android/app/src/main/res/layout/fragment_addons.xml@@ -11,6 +11,7 @@android:layout_width="match_parent"android:layout_height="wrap_content"android:fitsSystemWindows="true"+ android:touchscreenBlocksFocus="false"app:layout_constraintEnd_toEndOf="parent"app:layout_constraintStart_toStartOf="parent"app:layout_constraintTop_toTopOf="parent">@@ -19,6 +20,7 @@android:id="@+id/toolbar_addons"android:layout_width="match_parent"android:layout_height="?attr/actionBarSize"+ android:touchscreenBlocksFocus="false"app:navigationIcon="@drawable/ic_back" /></com.google.android.material.appbar.AppBarLayout>diff --git a/src/android/app/src/main/res/layout/fragment_applet_launcher.xml b/src/android/app/src/main/res/layout/fragment_applet_launcher.xmlindex fe8fae40f7..95e6d6a6bc 100644--- a/src/android/app/src/main/res/layout/fragment_applet_launcher.xml+++ b/src/android/app/src/main/res/layout/fragment_applet_launcher.xml@@ -10,12 +10,14 @@android:id="@+id/appbar_applets"android:layout_width="match_parent"android:layout_height="wrap_content"- android:fitsSystemWindows="true">+ android:fitsSystemWindows="true"+ android:touchscreenBlocksFocus="false"><com.google.android.material.appbar.MaterialToolbarandroid:id="@+id/toolbar_applets"android:layout_width="match_parent"android:layout_height="?attr/actionBarSize"+ android:touchscreenBlocksFocus="false"app:navigationIcon="@drawable/ic_back"app:title="@string/applets" />diff --git a/src/android/app/src/main/res/layout/fragment_driver_manager.xml b/src/android/app/src/main/res/layout/fragment_driver_manager.xmlindex 6cea2d164a..56d8e6bb8f 100644--- a/src/android/app/src/main/res/layout/fragment_driver_manager.xml+++ b/src/android/app/src/main/res/layout/fragment_driver_manager.xml@@ -15,12 +15,14 @@android:layout_width="match_parent"android:layout_height="wrap_content"android:fitsSystemWindows="true"+ android:touchscreenBlocksFocus="false"app:liftOnScrollTargetViewId="@id/list_drivers"><com.google.android.material.appbar.MaterialToolbarandroid:id="@+id/toolbar_drivers"android:layout_width="match_parent"android:layout_height="?attr/actionBarSize"+ android:touchscreenBlocksFocus="false"app:navigationIcon="@drawable/ic_back"app:title="@string/gpu_driver_manager" />diff --git a/src/android/app/src/main/res/layout/fragment_early_access.xml b/src/android/app/src/main/res/layout/fragment_early_access.xmlindex 644b4dd45a..24b1305432 100644--- a/src/android/app/src/main/res/layout/fragment_early_access.xml+++ b/src/android/app/src/main/res/layout/fragment_early_access.xml@@ -11,12 +11,14 @@android:id="@+id/appbar_ea"android:layout_width="match_parent"android:layout_height="wrap_content"- android:fitsSystemWindows="true">+ android:fitsSystemWindows="true"+ android:touchscreenBlocksFocus="false"><com.google.android.material.appbar.MaterialToolbarandroid:id="@+id/toolbar_about"android:layout_width="match_parent"android:layout_height="?attr/actionBarSize"+ android:touchscreenBlocksFocus="false"app:navigationIcon="@drawable/ic_back"app:title="@string/early_access" />diff --git a/src/android/app/src/main/res/layout/fragment_folders.xml b/src/android/app/src/main/res/layout/fragment_folders.xmlindex 74f2f3754d..d7c4c7cb00 100644--- a/src/android/app/src/main/res/layout/fragment_folders.xml+++ b/src/android/app/src/main/res/layout/fragment_folders.xml@@ -15,12 +15,14 @@android:layout_width="match_parent"android:layout_height="wrap_content"android:fitsSystemWindows="true"+ android:touchscreenBlocksFocus="false"app:liftOnScrollTargetViewId="@id/list_folders"><com.google.android.material.appbar.MaterialToolbarandroid:id="@+id/toolbar_folders"android:layout_width="match_parent"android:layout_height="?attr/actionBarSize"+ android:touchscreenBlocksFocus="false"app:navigationIcon="@drawable/ic_back"app:title="@string/game_folders" />diff --git a/src/android/app/src/main/res/layout/fragment_game_info.xml b/src/android/app/src/main/res/layout/fragment_game_info.xmlindex 53af15787e..7daca72df8 100644--- a/src/android/app/src/main/res/layout/fragment_game_info.xml+++ b/src/android/app/src/main/res/layout/fragment_game_info.xml@@ -11,12 +11,14 @@android:id="@+id/appbar_info"android:layout_width="match_parent"android:layout_height="wrap_content"+ android:touchscreenBlocksFocus="false"android:fitsSystemWindows="true"><com.google.android.material.appbar.MaterialToolbarandroid:id="@+id/toolbar_info"android:layout_width="match_parent"android:layout_height="?attr/actionBarSize"+ android:touchscreenBlocksFocus="false"app:navigationIcon="@drawable/ic_back" /></com.google.android.material.appbar.AppBarLayout>diff --git a/src/android/app/src/main/res/layout/fragment_installables.xml b/src/android/app/src/main/res/layout/fragment_installables.xmlindex 3a4df81a6d..47ef3869f2 100644--- a/src/android/app/src/main/res/layout/fragment_installables.xml+++ b/src/android/app/src/main/res/layout/fragment_installables.xml@@ -10,12 +10,14 @@android:id="@+id/appbar_installables"android:layout_width="match_parent"android:layout_height="wrap_content"- android:fitsSystemWindows="true">+ android:fitsSystemWindows="true"+ android:touchscreenBlocksFocus="false"><com.google.android.material.appbar.MaterialToolbarandroid:id="@+id/toolbar_installables"android:layout_width="match_parent"android:layout_height="?attr/actionBarSize"+ android:touchscreenBlocksFocus="false"app:title="@string/manage_yuzu_data"app:navigationIcon="@drawable/ic_back" />diff --git a/src/android/app/src/main/res/layout/fragment_licenses.xml b/src/android/app/src/main/res/layout/fragment_licenses.xmlindex 6b31ff5b47..59d68b1129 100644--- a/src/android/app/src/main/res/layout/fragment_licenses.xml+++ b/src/android/app/src/main/res/layout/fragment_licenses.xml@@ -10,12 +10,14 @@android:id="@+id/appbar_licenses"android:layout_width="match_parent"android:layout_height="wrap_content"- android:fitsSystemWindows="true">+ android:fitsSystemWindows="true"+ android:touchscreenBlocksFocus="false"><com.google.android.material.appbar.MaterialToolbarandroid:id="@+id/toolbar_licenses"android:layout_width="match_parent"android:layout_height="?attr/actionBarSize"+ android:touchscreenBlocksFocus="false"app:title="@string/licenses"app:navigationIcon="@drawable/ic_back" />diff --git a/src/android/app/src/main/res/layout/fragment_settings.xml b/src/android/app/src/main/res/layout/fragment_settings.xmlindex ebedbf1ec4..110c70eef6 100644--- a/src/android/app/src/main/res/layout/fragment_settings.xml+++ b/src/android/app/src/main/res/layout/fragment_settings.xml@@ -11,6 +11,7 @@android:layout_width="match_parent"android:layout_height="wrap_content"android:fitsSystemWindows="true"+ android:touchscreenBlocksFocus="false"app:elevation="0dp"><com.google.android.material.appbar.CollapsingToolbarLayout@@ -24,6 +25,7 @@android:id="@+id/toolbar_settings"android:layout_width="match_parent"android:layout_height="?attr/actionBarSize"+ android:touchscreenBlocksFocus="false"app:layout_collapseMode="pin"app:navigationIcon="@drawable/ic_back" />