mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
Focus fixes for old devices (#686)
- Fix Library on TV main buttons focus. - Quick search back button focus.
This commit is contained in:
parent
1ccd3d732d
commit
fc8c0e809d
2 changed files with 12 additions and 8 deletions
|
@ -38,6 +38,7 @@
|
|||
android:padding="2dp"
|
||||
android:background="?selectableItemBackgroundBorderless"
|
||||
android:contentDescription="@string/change_providers_img_des"
|
||||
android:focusable="true"
|
||||
android:nextFocusLeft="@id/nav_rail_view"
|
||||
android:nextFocusRight="@id/library_sort"
|
||||
android:tag="@string/tv_no_focus_tag"
|
||||
|
@ -52,6 +53,7 @@
|
|||
android:layout_marginStart="10dp"
|
||||
android:background="?selectableItemBackgroundBorderless"
|
||||
android:contentDescription="@string/change_providers_img_des"
|
||||
android:focusable="true"
|
||||
android:nextFocusLeft="@id/provider_selector"
|
||||
android:nextFocusRight="@id/list_selector"
|
||||
android:tag="@string/tv_no_focus_tag"
|
||||
|
@ -67,6 +69,7 @@
|
|||
android:layout_marginStart="10dp"
|
||||
android:background="?selectableItemBackgroundBorderless"
|
||||
android:contentDescription="@string/change_providers_img_des"
|
||||
android:focusable="true"
|
||||
android:nextFocusLeft="@id/library_sort"
|
||||
android:nextFocusRight="@id/main_search"
|
||||
android:tag="@string/tv_no_focus_tag"
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
android:background="?android:attr/selectableItemBackgroundBorderless"
|
||||
android:src="@drawable/ic_baseline_arrow_back_24"
|
||||
app:tint="@android:color/white"
|
||||
android:focusable="true"
|
||||
android:layout_width="25dp"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
|
|
Loading…
Reference in a new issue