mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 06:10:31 +05:30
cleanup
This commit is contained in:
parent
6682101c06
commit
108a1d90b0
@ -259,8 +259,9 @@ class PlayerFragment : Fragment() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// FullScreen button trigger
|
// FullScreen button trigger
|
||||||
view.findViewById<ImageButton>(R.id.fullscreen).setOnClickListener {
|
val fullScreenButton = view.findViewById<ImageButton>(R.id.fullscreen)
|
||||||
// remember to hide everything when new thing added
|
fullScreenButton.setOnClickListener {
|
||||||
|
exoPlayerView.hideController()
|
||||||
if (!isFullScreen) {
|
if (!isFullScreen) {
|
||||||
with(motionLayout) {
|
with(motionLayout) {
|
||||||
getConstraintSet(R.id.start).constrainHeight(R.id.player, -1)
|
getConstraintSet(R.id.start).constrainHeight(R.id.player, -1)
|
||||||
|
@ -136,14 +136,6 @@
|
|||||||
android:layout_marginBottom="10dp"
|
android:layout_marginBottom="10dp"
|
||||||
android:layoutDirection="ltr">
|
android:layoutDirection="ltr">
|
||||||
|
|
||||||
<ImageButton
|
|
||||||
android:id="@id/exo_vr"
|
|
||||||
style="@style/ExoStyledControls.Button.Bottom.VR" />
|
|
||||||
|
|
||||||
<ImageButton
|
|
||||||
android:id="@id/exo_shuffle"
|
|
||||||
style="@style/ExoStyledControls.Button.Bottom.Shuffle" />
|
|
||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
android:id="@id/exo_repeat_toggle"
|
android:id="@id/exo_repeat_toggle"
|
||||||
style="@style/ExoStyledControls.Button.Bottom.RepeatToggle" />
|
style="@style/ExoStyledControls.Button.Bottom.RepeatToggle" />
|
||||||
@ -160,14 +152,6 @@
|
|||||||
android:id="@+id/fullscreen"
|
android:id="@+id/fullscreen"
|
||||||
style="@style/ExoStyledControls.Button.Bottom.FullScreen" />
|
style="@style/ExoStyledControls.Button.Bottom.FullScreen" />
|
||||||
|
|
||||||
<ImageButton
|
|
||||||
android:id="@id/exo_fullscreen"
|
|
||||||
style="@style/ExoStyledControls.Button.Bottom.FullScreen" />
|
|
||||||
|
|
||||||
<ImageButton
|
|
||||||
android:id="@id/exo_overflow_show"
|
|
||||||
style="@style/ExoStyledControls.Button.Bottom.OverflowShow" />
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<HorizontalScrollView
|
<HorizontalScrollView
|
||||||
@ -226,10 +210,6 @@
|
|||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:layoutDirection="ltr">
|
android:layoutDirection="ltr">
|
||||||
|
|
||||||
<ImageButton
|
|
||||||
android:id="@id/exo_minimal_fullscreen"
|
|
||||||
style="@style/ExoStyledControls.Button.Bottom.FullScreen" />
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
|
Loading…
Reference in New Issue
Block a user