android: Allow controller to focus on toolbar menu items
Workaround for this https://issuetracker.google.com/issues/256948272
This commit is contained in:
		| @@ -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.MaterialToolbar | ||||
|             android: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" /> | ||||
|  | ||||
|   | ||||
| @@ -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.MaterialToolbar | ||||
|             android: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" /> | ||||
|  | ||||
|   | ||||
| @@ -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> | ||||
|   | ||||
| @@ -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.MaterialToolbar | ||||
|             android: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" /> | ||||
|  | ||||
|   | ||||
| @@ -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.MaterialToolbar | ||||
|                 android: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" /> | ||||
|  | ||||
|   | ||||
| @@ -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.MaterialToolbar | ||||
|             android: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" /> | ||||
|  | ||||
|   | ||||
| @@ -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.MaterialToolbar | ||||
|                 android: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" /> | ||||
|  | ||||
|   | ||||
| @@ -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.MaterialToolbar | ||||
|             android: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> | ||||
|   | ||||
| @@ -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.MaterialToolbar | ||||
|             android: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" /> | ||||
|  | ||||
|   | ||||
| @@ -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.MaterialToolbar | ||||
|             android: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" /> | ||||
|  | ||||
|   | ||||
| @@ -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" /> | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user