mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
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.
This commit is contained in:
parent
16510923d2
commit
2f03ca7de9
1 changed files with 10 additions and 0 deletions
|
@ -52,6 +52,7 @@
|
||||||
android:background="?attr/selectableItemBackgroundBorderless"
|
android:background="?attr/selectableItemBackgroundBorderless"
|
||||||
android:contentDescription="@string/title_settings"
|
android:contentDescription="@string/title_settings"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
|
android:focusable="true"
|
||||||
app:srcCompat="@drawable/ic_baseline_tune_24"
|
app:srcCompat="@drawable/ic_baseline_tune_24"
|
||||||
tools:visibility="visible" />
|
tools:visibility="visible" />
|
||||||
|
|
||||||
|
@ -61,6 +62,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center_vertical|end"
|
android:layout_gravity="center_vertical|end"
|
||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="16dp"
|
||||||
|
android:focusable="true"
|
||||||
android:background="?attr/selectableItemBackgroundBorderless"
|
android:background="?attr/selectableItemBackgroundBorderless"
|
||||||
android:src="@drawable/ic_github_logo" />
|
android:src="@drawable/ic_github_logo" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
@ -81,6 +83,7 @@
|
||||||
style="@style/SmallBlackButton"
|
style="@style/SmallBlackButton"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:layout_marginStart="10dp"
|
android:layout_marginStart="10dp"
|
||||||
|
android:focusable="false"
|
||||||
android:text="@string/extension_description" />
|
android:text="@string/extension_description" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
@ -111,6 +114,7 @@
|
||||||
style="@style/SmallBlackButton"
|
style="@style/SmallBlackButton"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:layout_marginStart="10dp"
|
android:layout_marginStart="10dp"
|
||||||
|
android:focusable="false"
|
||||||
android:text="@string/extension_authors" />
|
android:text="@string/extension_authors" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
@ -140,6 +144,7 @@
|
||||||
style="@style/SmallBlackButton"
|
style="@style/SmallBlackButton"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:layout_marginStart="10dp"
|
android:layout_marginStart="10dp"
|
||||||
|
android:focusable="false"
|
||||||
android:text="@string/extension_version" />
|
android:text="@string/extension_version" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
@ -169,6 +174,7 @@
|
||||||
style="@style/SmallBlackButton"
|
style="@style/SmallBlackButton"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:layout_marginStart="10dp"
|
android:layout_marginStart="10dp"
|
||||||
|
android:focusable="false"
|
||||||
android:text="@string/extension_status" />
|
android:text="@string/extension_status" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
@ -198,6 +204,7 @@
|
||||||
style="@style/SmallBlackButton"
|
style="@style/SmallBlackButton"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:layout_marginStart="10dp"
|
android:layout_marginStart="10dp"
|
||||||
|
android:focusable="false"
|
||||||
android:text="@string/extension_size" />
|
android:text="@string/extension_size" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
@ -228,6 +235,7 @@
|
||||||
style="@style/SmallBlackButton"
|
style="@style/SmallBlackButton"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:layout_marginStart="10dp"
|
android:layout_marginStart="10dp"
|
||||||
|
android:focusable="false"
|
||||||
android:text="@string/extension_types" />
|
android:text="@string/extension_types" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
@ -258,6 +266,7 @@
|
||||||
style="@style/SmallBlackButton"
|
style="@style/SmallBlackButton"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:layout_marginStart="10dp"
|
android:layout_marginStart="10dp"
|
||||||
|
android:focusable="false"
|
||||||
android:text="@string/extension_language" />
|
android:text="@string/extension_language" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
@ -305,6 +314,7 @@
|
||||||
android:layout_marginEnd="32dp"
|
android:layout_marginEnd="32dp"
|
||||||
android:background="?attr/selectableItemBackgroundBorderless"
|
android:background="?attr/selectableItemBackgroundBorderless"
|
||||||
android:src="@drawable/ic_baseline_thumb_up_24"
|
android:src="@drawable/ic_baseline_thumb_up_24"
|
||||||
|
android:focusable="true"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toEndOf="@+id/plugin_votes"
|
app:layout_constraintStart_toEndOf="@+id/plugin_votes"
|
||||||
|
|
Loading…
Reference in a new issue