This commit is contained in:
LagradOst 2022-03-14 13:37:05 +01:00
parent 51b56260bd
commit b2d025e5e9

View file

@ -298,73 +298,67 @@
android:layout_gravity="center"> android:layout_gravity="center">
<LinearLayout <LinearLayout
android:id="@+id/player_lock_holder"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="match_parent"
android:gravity="center" android:orientation="horizontal">
android:paddingTop="10dp"
android:paddingBottom="10dp">
<com.google.android.material.button.MaterialButton <com.google.android.material.button.MaterialButton
android:id="@+id/player_lock" android:id="@+id/player_resize_btt"
style="@style/VideoButtonTV" style="@style/VideoButtonTV"
android:nextFocusLeft="@id/player_skip_episode" android:nextFocusLeft="@id/player_lock"
android:nextFocusRight="@id/player_resize_btt" android:nextFocusRight="@id/player_speed_btt"
android:nextFocusUp="@id/player_pause_play" android:nextFocusUp="@id/player_pause_play"
android:text="@string/video_lock" android:text="@string/video_aspect_ratio_resize"
app:icon="@drawable/video_locked" /> app:icon="@drawable/ic_baseline_aspect_ratio_24" />
<LinearLayout <com.google.android.material.button.MaterialButton
android:id="@+id/player_lock_holder" android:id="@+id/player_speed_btt"
android:layout_width="wrap_content" style="@style/VideoButtonTV"
android:layout_height="match_parent" android:nextFocusLeft="@id/player_resize_btt"
android:orientation="horizontal"> android:nextFocusRight="@id/player_subtitle_offset_btt"
android:nextFocusUp="@id/player_pause_play"
app:icon="@drawable/ic_baseline_speed_24"
tools:text="Speed" />
<com.google.android.material.button.MaterialButton <com.google.android.material.button.MaterialButton
android:id="@+id/player_resize_btt" android:visibility="gone"
style="@style/VideoButtonTV" tools:visibility="visible"
android:nextFocusLeft="@id/player_lock" android:id="@+id/player_subtitle_offset_btt"
android:nextFocusRight="@id/player_speed_btt" style="@style/VideoButtonTV"
android:nextFocusUp="@id/player_pause_play" android:nextFocusLeft="@id/player_speed_btt"
android:text="@string/video_aspect_ratio_resize"
app:icon="@drawable/ic_baseline_aspect_ratio_24" />
<com.google.android.material.button.MaterialButton android:nextFocusRight="@id/player_sources_btt"
android:id="@+id/player_speed_btt" app:icon="@drawable/ic_outline_subtitles_24"
style="@style/VideoButtonTV" android:text="@string/subtitle_offset"/>
android:nextFocusLeft="@id/player_resize_btt"
android:nextFocusRight="@id/player_sources_btt"
android:nextFocusUp="@id/player_pause_play"
app:icon="@drawable/ic_baseline_speed_24"
tools:text="Speed" />
<com.google.android.material.button.MaterialButton <com.google.android.material.button.MaterialButton
android:id="@+id/player_sources_btt" android:id="@+id/player_sources_btt"
style="@style/VideoButtonTV" style="@style/VideoButtonTV"
android:nextFocusLeft="@id/player_speed_btt" android:nextFocusLeft="@id/player_subtitle_offset_btt"
android:nextFocusRight="@id/player_skip_op" android:nextFocusRight="@id/player_skip_op"
android:nextFocusUp="@id/player_pause_play" android:nextFocusUp="@id/player_pause_play"
android:text="@string/video_source" android:text="@string/video_source"
app:icon="@drawable/ic_baseline_playlist_play_24" /> app:icon="@drawable/ic_baseline_playlist_play_24" />
<com.google.android.material.button.MaterialButton <com.google.android.material.button.MaterialButton
android:id="@+id/player_skip_op" android:id="@+id/player_skip_op"
style="@style/VideoButtonTV" style="@style/VideoButtonTV"
android:nextFocusLeft="@id/player_sources_btt" android:nextFocusLeft="@id/player_sources_btt"
android:nextFocusRight="@id/player_skip_episode" android:nextFocusRight="@id/player_skip_episode"
android:nextFocusUp="@id/player_pause_play" android:nextFocusUp="@id/player_pause_play"
android:text="@string/video_skip_op" android:text="@string/video_skip_op"
app:icon="@drawable/ic_baseline_fast_forward_24" /> app:icon="@drawable/ic_baseline_fast_forward_24" />
<com.google.android.material.button.MaterialButton <com.google.android.material.button.MaterialButton
android:id="@+id/player_skip_episode" android:id="@+id/player_skip_episode"
style="@style/VideoButtonTV" style="@style/VideoButtonTV"
android:nextFocusLeft="@id/player_skip_op" android:nextFocusLeft="@id/player_skip_op"
android:nextFocusRight="@id/player_lock" android:nextFocusRight="@id/player_lock"
android:nextFocusUp="@id/player_pause_play" android:nextFocusUp="@id/player_pause_play"
android:text="@string/next_episode" android:text="@string/next_episode"
app:icon="@drawable/ic_baseline_skip_next_24" /> app:icon="@drawable/ic_baseline_skip_next_24" />
</LinearLayout>
</LinearLayout> </LinearLayout>
</HorizontalScrollView> </HorizontalScrollView>
</LinearLayout> </LinearLayout>