Last active
September 11, 2018 09:50
-
-
Save armcha/043bfb80b6f653423db875b2e1da3509 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8"?> | |
| <MotionScene xmlns:android="http://schemas.android.com/apk/res/android" | |
| xmlns:app="http://schemas.android.com/apk/res-auto"> | |
| <Transition | |
| app:constraintSetEnd="@id/expanded" | |
| app:constraintSetStart="@id/collapsed"> | |
| <OnSwipe | |
| app:dragDirection="dragUp"/> | |
| </Transition> | |
| <ConstraintSet android:id="@+id/expanded"> | |
| <Constraint | |
| android:id="@id/videoViewContainer" | |
| android:layout_height="250dp" | |
| android:layout_marginStart="0dp" | |
| android:layout_marginEnd="0dp" | |
| android:layout_marginBottom="0dp" | |
| app:layout_constraintEnd_toEndOf="parent" | |
| app:layout_constraintStart_toStartOf="parent" | |
| app:layout_constraintTop_toTopOf="parent" /> | |
| </ConstraintSet> | |
| <ConstraintSet android:id="@+id/collapsed"> | |
| <Constraint | |
| android:id="@id/videoViewContainer" | |
| android:layout_height="55dp" | |
| android:layout_marginStart="10dp" | |
| android:layout_marginEnd="10dp" | |
| android:layout_marginBottom="65dp" | |
| app:layout_constraintBottom_toBottomOf="parent" | |
| app:layout_constraintEnd_toEndOf="parent" | |
| app:layout_constraintStart_toStartOf="parent" /> | |
| </ConstraintSet> | |
| </MotionScene> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment