mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
Fix focus for Tracks selection on TV (#1030)
This commit is contained in:
parent
d8f89df163
commit
ff0dea3fbb
1 changed files with 23 additions and 24 deletions
|
@ -38,21 +38,20 @@
|
||||||
android:requiresFadingEdge="vertical"
|
android:requiresFadingEdge="vertical"
|
||||||
android:id="@+id/video_tracks_list"
|
android:id="@+id/video_tracks_list"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_rowWeight="1"
|
android:layout_rowWeight="1"
|
||||||
android:background="?attr/primaryBlackBackground"
|
android:background="?attr/primaryBlackBackground"
|
||||||
android:nextFocusLeft="@id/sort_subtitles"
|
android:nextFocusRight="@id/audio_tracks_holder"
|
||||||
android:nextFocusRight="@id/apply_btt"
|
|
||||||
tools:listitem="@layout/sort_bottom_single_choice" />
|
tools:listitem="@layout/sort_bottom_single_choice" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/audio_tracks_holder"
|
android:id="@+id/audio_tracks_holder"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="50"
|
android:layout_weight="50"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<!-- android:id="@+id/subs_settings" android:foreground="?android:attr/selectableItemBackgroundBorderless"
|
<!-- android:id="@+id/subs_settings" android:foreground="?android:attr/selectableItemBackgroundBorderless"
|
||||||
-->
|
-->
|
||||||
|
@ -107,17 +106,16 @@
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<ListView
|
<ListView
|
||||||
android:requiresFadingEdge="vertical"
|
android:requiresFadingEdge="vertical"
|
||||||
android:id="@+id/auto_tracks_list"
|
android:id="@+id/auto_tracks_list"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_rowWeight="1"
|
||||||
android:layout_rowWeight="1"
|
android:background="?attr/primaryBlackBackground"
|
||||||
android:background="?attr/primaryBlackBackground"
|
android:nextFocusRight="@id/apply_btt"
|
||||||
android:nextFocusLeft="@id/sort_providers"
|
android:nextFocusLeft="@id/video_tracks_list"
|
||||||
android:nextFocusRight="@id/cancel_btt"
|
tools:listfooter="@layout/sort_bottom_footer_add_choice"
|
||||||
tools:listfooter="@layout/sort_bottom_footer_add_choice"
|
tools:listitem="@layout/sort_bottom_single_choice" />
|
||||||
tools:listitem="@layout/sort_bottom_single_choice" />
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
@ -132,11 +130,12 @@
|
||||||
|
|
||||||
|
|
||||||
<com.google.android.material.button.MaterialButton
|
<com.google.android.material.button.MaterialButton
|
||||||
style="@style/WhiteButton"
|
style="@style/WhiteButton"
|
||||||
android:layout_gravity="center_vertical|end"
|
android:layout_gravity="center_vertical|end"
|
||||||
android:text="@string/sort_apply"
|
android:text="@string/sort_apply"
|
||||||
android:id="@+id/apply_btt"
|
android:id="@+id/apply_btt"
|
||||||
android:layout_width="wrap_content" />
|
android:nextFocusLeft="@id/auto_tracks_list"
|
||||||
|
android:layout_width="wrap_content" />
|
||||||
|
|
||||||
<com.google.android.material.button.MaterialButton
|
<com.google.android.material.button.MaterialButton
|
||||||
style="@style/BlackButton"
|
style="@style/BlackButton"
|
||||||
|
|
Loading…
Reference in a new issue