From 4fe2cf66e469fc2a7f573b1a591b7a9bfa82033e Mon Sep 17 00:00:00 2001 From: KingLucius Date: Sat, 23 Mar 2024 13:35:48 +0200 Subject: [PATCH] Extenstions' Github & Rate buttons are now focusable on TV - Disables useless focus for (Description, Author .. etc.) buttons one the left. - Make GitHub & Rate focusable on TV. --- app/src/main/res/layout/fragment_plugin_details.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app/src/main/res/layout/fragment_plugin_details.xml b/app/src/main/res/layout/fragment_plugin_details.xml index 7a8f85e4..79013d9f 100644 --- a/app/src/main/res/layout/fragment_plugin_details.xml +++ b/app/src/main/res/layout/fragment_plugin_details.xml @@ -52,6 +52,7 @@ android:background="?attr/selectableItemBackgroundBorderless" android:contentDescription="@string/title_settings" android:visibility="gone" + android:focusable="true" app:srcCompat="@drawable/ic_baseline_tune_24" tools:visibility="visible" /> @@ -61,6 +62,7 @@ android:layout_height="wrap_content" android:layout_gravity="center_vertical|end" android:layout_marginStart="16dp" + android:focusable="true" android:background="?attr/selectableItemBackgroundBorderless" android:src="@drawable/ic_github_logo" /> @@ -81,6 +83,7 @@ style="@style/SmallBlackButton" android:layout_gravity="center" android:layout_marginStart="10dp" + android:focusable="false" android:text="@string/extension_description" />