Fix focus for Tracks selection on TV (#1030)

This commit is contained in:
KingLucius 2024-04-10 17:16:04 +02:00 committed by GitHub
parent d8f89df163
commit ff0dea3fbb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -38,12 +38,11 @@
android:requiresFadingEdge="vertical"
android:id="@+id/video_tracks_list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_rowWeight="1"
android:background="?attr/primaryBlackBackground"
android:nextFocusLeft="@id/sort_subtitles"
android:nextFocusRight="@id/apply_btt"
android:nextFocusRight="@id/audio_tracks_holder"
tools:listitem="@layout/sort_bottom_single_choice" />
</LinearLayout>
@ -110,12 +109,11 @@
android:requiresFadingEdge="vertical"
android:id="@+id/auto_tracks_list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_rowWeight="1"
android:background="?attr/primaryBlackBackground"
android:nextFocusLeft="@id/sort_providers"
android:nextFocusRight="@id/cancel_btt"
android:nextFocusRight="@id/apply_btt"
android:nextFocusLeft="@id/video_tracks_list"
tools:listfooter="@layout/sort_bottom_footer_add_choice"
tools:listitem="@layout/sort_bottom_single_choice" />
</LinearLayout>
@ -136,6 +134,7 @@
android:layout_gravity="center_vertical|end"
android:text="@string/sort_apply"
android:id="@+id/apply_btt"
android:nextFocusLeft="@id/auto_tracks_list"
android:layout_width="wrap_content" />
<com.google.android.material.button.MaterialButton