feat(TV UI: Fix online subtitles dialog focus (#1085)

This commit is contained in:
KingLucius 2024-05-18 14:41:37 +03:00 committed by GitHub
parent ee4d1dedc5
commit af828de8d5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -40,7 +40,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="30dp" android:layout_height="30dp"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_marginEnd="30dp"> android:layout_marginEnd="40dp">
<androidx.appcompat.widget.SearchView <androidx.appcompat.widget.SearchView
android:id="@+id/subtitles_search" android:id="@+id/subtitles_search"
@ -91,7 +91,8 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_gravity="center_vertical|end" android:layout_gravity="center_vertical|end"
android:layout_marginEnd="20dp" android:nextFocusLeft="@id/subtitles_search"
android:nextFocusRight="@id/search_filter"
android:text="@string/none" android:text="@string/none"
/> />
</LinearLayout> </LinearLayout>
@ -106,7 +107,7 @@
android:layout_margin="10dp" android:layout_margin="10dp"
android:background="?selectableItemBackgroundBorderless" android:background="?selectableItemBackgroundBorderless"
android:contentDescription="@string/change_providers_img_des" android:contentDescription="@string/change_providers_img_des"
android:nextFocusLeft="@id/main_search" android:nextFocusLeft="@id/year_btt"
android:nextFocusRight="@id/main_search" android:nextFocusRight="@id/main_search"
android:nextFocusUp="@id/nav_rail_view" android:nextFocusUp="@id/nav_rail_view"
android:nextFocusDown="@id/search_autofit_results" android:nextFocusDown="@id/search_autofit_results"