mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 14:20:30 +05:30
commit
d943a80ee4
@ -299,6 +299,8 @@ class MainActivity : AppCompatActivity() {
|
|||||||
binding.mainMotionLayout.transitionToEnd()
|
binding.mainMotionLayout.transitionToEnd()
|
||||||
findViewById<ConstraintLayout>(R.id.main_container).isClickable = false
|
findViewById<ConstraintLayout>(R.id.main_container).isClickable = false
|
||||||
val motionLayout = findViewById<MotionLayout>(R.id.playerMotionLayout)
|
val motionLayout = findViewById<MotionLayout>(R.id.playerMotionLayout)
|
||||||
|
// set the animation duration
|
||||||
|
motionLayout.setTransitionDuration(250)
|
||||||
motionLayout.transitionToEnd()
|
motionLayout.transitionToEnd()
|
||||||
requestedOrientation = ActivityInfo.SCREEN_ORIENTATION_USER_PORTRAIT
|
requestedOrientation = ActivityInfo.SCREEN_ORIENTATION_USER_PORTRAIT
|
||||||
with(motionLayout) {
|
with(motionLayout) {
|
||||||
|
Loading…
Reference in New Issue
Block a user