2021-12-12 17:38:23 +05:30
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2022-06-03 22:19:48 +05:30
|
|
|
<MotionScene xmlns:android="http://schemas.android.com/apk/res/android"
|
2021-12-12 17:38:23 +05:30
|
|
|
xmlns:motion="http://schemas.android.com/apk/res-auto">
|
|
|
|
|
|
|
|
<Transition
|
2021-12-16 03:54:40 +05:30
|
|
|
android:id="@+id/yt_transition"
|
2021-12-12 17:38:23 +05:30
|
|
|
motion:constraintSetEnd="@+id/end"
|
|
|
|
motion:constraintSetStart="@id/start"
|
|
|
|
motion:duration="10"
|
2022-06-03 22:19:48 +05:30
|
|
|
motion:motionInterpolator="easeInOut">
|
|
|
|
<KeyFrameSet>
|
|
|
|
<KeyAttribute
|
|
|
|
motion:motionTarget="@+id/close_imageView"
|
|
|
|
motion:framePosition="90"
|
|
|
|
android:alpha="0" />
|
|
|
|
<KeyAttribute
|
|
|
|
motion:motionTarget="@+id/play_imageView"
|
|
|
|
motion:framePosition="90"
|
|
|
|
android:alpha="0" />
|
|
|
|
<KeyAttribute
|
|
|
|
motion:motionTarget="@+id/title_textView"
|
|
|
|
motion:framePosition="95"
|
|
|
|
android:alpha="0" />
|
|
|
|
</KeyFrameSet>
|
2021-12-12 17:38:23 +05:30
|
|
|
<OnSwipe
|
|
|
|
motion:touchAnchorId="@+id/main_container"
|
|
|
|
motion:dragDirection="dragDown"
|
|
|
|
motion:touchAnchorSide="bottom"
|
|
|
|
motion:maxAcceleration="40"
|
2022-06-03 22:19:48 +05:30
|
|
|
motion:dragScale="6" />
|
2021-12-12 17:38:23 +05:30
|
|
|
</Transition>
|
|
|
|
|
|
|
|
<ConstraintSet android:id="@+id/start">
|
2021-12-15 15:54:12 +05:30
|
|
|
<Constraint
|
|
|
|
android:id="@+id/player"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
motion:layout_constraintBottom_toBottomOf="@id/main_container"
|
|
|
|
motion:layout_constraintTop_toTopOf="@id/main_container"
|
|
|
|
motion:layout_constraintStart_toStartOf="@id/main_container" />
|
|
|
|
<Constraint
|
|
|
|
android:id="@+id/player"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
motion:layout_constraintBottom_toBottomOf="@id/main_container"
|
|
|
|
motion:layout_constraintTop_toTopOf="@id/main_container"
|
|
|
|
motion:layout_constraintStart_toStartOf="@id/main_container" />
|
|
|
|
<Constraint
|
|
|
|
android:id="@+id/player"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
motion:layout_constraintBottom_toBottomOf="@id/main_container"
|
|
|
|
motion:layout_constraintTop_toTopOf="@id/main_container"
|
|
|
|
motion:layout_constraintStart_toStartOf="@id/main_container" />
|
|
|
|
<Constraint
|
|
|
|
android:id="@+id/player"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
motion:layout_constraintBottom_toBottomOf="@id/main_container"
|
|
|
|
motion:layout_constraintTop_toTopOf="@id/main_container"
|
|
|
|
motion:layout_constraintStart_toStartOf="@id/main_container" />
|
|
|
|
<Constraint
|
|
|
|
android:id="@+id/player"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
motion:layout_constraintBottom_toBottomOf="@id/main_container"
|
|
|
|
motion:layout_constraintTop_toTopOf="@id/main_container"
|
|
|
|
motion:layout_constraintStart_toStartOf="@id/main_container" />
|
2021-12-12 17:38:23 +05:30
|
|
|
</ConstraintSet>
|
|
|
|
|
|
|
|
<ConstraintSet android:id="@+id/end">
|
|
|
|
<Constraint
|
|
|
|
android:id="@+id/scrollView2"
|
|
|
|
motion:layout_constraintEnd_toEndOf="parent"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
motion:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
motion:layout_constraintTop_toBottomOf="@+id/main_container"
|
|
|
|
motion:layout_constraintHorizontal_bias="0.5"
|
|
|
|
motion:layout_constraintStart_toStartOf="parent"
|
|
|
|
motion:layout_constraintVertical_bias="1.0" />
|
|
|
|
<Constraint
|
|
|
|
android:id="@+id/main_container"
|
|
|
|
motion:layout_constraintEnd_toEndOf="parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="54dp"
|
|
|
|
motion:layout_constraintHorizontal_bias="0.5"
|
|
|
|
motion:layout_constraintTop_toTopOf="parent"
|
|
|
|
motion:layout_constraintStart_toStartOf="parent"
|
|
|
|
motion:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
motion:layout_constraintVertical_bias="1.0" />
|
|
|
|
<Constraint
|
|
|
|
android:id="@+id/player"
|
|
|
|
android:layout_width="100dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
motion:layout_constraintBottom_toBottomOf="@id/main_container"
|
|
|
|
motion:layout_constraintTop_toTopOf="@id/main_container"
|
|
|
|
motion:layout_constraintStart_toStartOf="@id/main_container" />
|
|
|
|
<Constraint
|
|
|
|
android:id="@+id/close_imageView"
|
|
|
|
motion:layout_constraintEnd_toEndOf="@id/main_container"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
motion:layout_constraintBottom_toBottomOf="@id/main_container"
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
android:alpha="1"
|
2021-12-14 02:58:17 +05:30
|
|
|
motion:layout_constraintTop_toTopOf="@id/main_container"
|
2022-06-03 22:19:48 +05:30
|
|
|
android:visibility="visible" />
|
2021-12-12 17:38:23 +05:30
|
|
|
<Constraint
|
|
|
|
android:id="@+id/play_imageView"
|
|
|
|
motion:layout_constraintEnd_toStartOf="@+id/close_imageView"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
motion:layout_constraintBottom_toBottomOf="@+id/close_imageView"
|
|
|
|
android:layout_marginEnd="24dp"
|
|
|
|
android:alpha="1"
|
2021-12-14 02:58:17 +05:30
|
|
|
motion:layout_constraintTop_toTopOf="@+id/close_imageView"
|
2022-06-03 22:19:48 +05:30
|
|
|
android:visibility="visible" />
|
2021-12-12 17:38:23 +05:30
|
|
|
<Constraint
|
|
|
|
android:id="@+id/title_textView"
|
|
|
|
motion:layout_constraintEnd_toStartOf="@+id/play_imageView"
|
|
|
|
motion:layout_constraintStart_toEndOf="@+id/player"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
motion:layout_constraintBottom_toBottomOf="@+id/play_imageView"
|
|
|
|
android:layout_marginEnd="12dp"
|
|
|
|
android:alpha="1"
|
|
|
|
android:layout_marginStart="8dp"
|
2021-12-15 15:54:12 +05:30
|
|
|
motion:layout_constraintTop_toTopOf="@+id/play_imageView"
|
2022-06-03 22:19:48 +05:30
|
|
|
android:visibility="visible" />
|
2021-12-12 17:38:23 +05:30
|
|
|
</ConstraintSet>
|
|
|
|
</MotionScene>
|