From 2f03ca7de9bbb711c9adc75600084201955cf4a7 Mon Sep 17 00:00:00 2001 From: KingLucius Date: Mon, 25 Mar 2024 01:42:18 +0200 Subject: [PATCH] Extenstions' Github & Rate buttons are now focusable on TV (#1008) - 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" />