mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-27 23:40:33 +05:30
commit
e2b1f24f94
@ -1544,13 +1544,13 @@ class PlayerFragment : BaseFragment() {
|
||||
override fun onPictureInPictureModeChanged(isInPictureInPictureMode: Boolean) {
|
||||
super.onPictureInPictureModeChanged(isInPictureInPictureMode)
|
||||
if (isInPictureInPictureMode) {
|
||||
// set portrait mode
|
||||
unsetFullscreen()
|
||||
|
||||
// hide and disable exoPlayer controls
|
||||
exoPlayerView.hideController()
|
||||
exoPlayerView.useController = false
|
||||
|
||||
// set portrait mode
|
||||
unsetFullscreen()
|
||||
|
||||
with(binding.playerMotionLayout) {
|
||||
getConstraintSet(R.id.start).constrainHeight(R.id.player, -1)
|
||||
enableTransition(R.id.yt_transition, false)
|
||||
|
@ -183,13 +183,11 @@
|
||||
<TextView
|
||||
style="@style/TimeString"
|
||||
android:text=" • "
|
||||
android:textColor="#B3FFFFFF"
|
||||
tools:ignore="HardcodedText" />
|
||||
|
||||
<TextView
|
||||
android:id="@id/exo_duration"
|
||||
style="@style/TimeString"
|
||||
android:textColor="#B3FFFFFF"
|
||||
tools:text="12:15" />
|
||||
|
||||
</LinearLayout>
|
||||
@ -204,11 +202,14 @@
|
||||
|
||||
<TextView
|
||||
android:id="@+id/liveDiff"
|
||||
style="@style/TimeString" />
|
||||
style="@style/TimeString"
|
||||
tools:text="05:10" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/liveSeparator"
|
||||
style="@style/TimeString"
|
||||
android:layout_marginHorizontal="5dp"
|
||||
android:paddingHorizontal="0dp"
|
||||
android:text=" • "
|
||||
android:visibility="gone"
|
||||
tools:ignore="HardcodedText" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user