| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206 |
- <?xml version="1.0" encoding="utf-8"?>
- <MotionScene xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:motion="http://schemas.android.com/apk/res-auto">
- <Transition
- motion:constraintSetEnd="@+id/end"
- motion:constraintSetStart="@+id/start"
- motion:duration="250">
- <OnSwipe
- motion:dragDirection="dragUp"
- motion:touchAnchorId="@+id/home_fragment_date"
- motion:touchAnchorSide="bottom" />
- </Transition>
- <ConstraintSet android:id="@+id/start">
- <Constraint
- android:id="@+id/home_fragment_time"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/_64sdp"
- motion:layout_constraintEnd_toEndOf="parent"
- motion:layout_constraintHorizontal_bias="0.506"
- motion:layout_constraintStart_toStartOf="parent"
- motion:layout_constraintTop_toTopOf="parent" />
- <Constraint
- android:id="@+id/home_fragment_time_format"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/_10sdp"
- motion:layout_constraintStart_toEndOf="@+id/home_fragment_time"
- motion:layout_constraintTop_toTopOf="@+id/home_fragment_time" />
- <Constraint
- android:id="@+id/home_fragment_date"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:padding="@dimen/_4sdp"
- android:text="@string/main_placeholder_date"
- motion:layout_constraintEnd_toEndOf="@+id/home_fragment_time"
- motion:layout_constraintStart_toStartOf="@+id/home_fragment_time"
- motion:layout_constraintTop_toBottomOf="@+id/home_fragment_time" />
- <Constraint
- android:id="@+id/home_fragment_list"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginStart="@dimen/_16sdp"
- android:layout_marginLeft="@dimen/_16sdp"
- android:layout_marginTop="8dp"
- android:layout_marginEnd="@dimen/_16sdp"
- android:layout_marginRight="@dimen/_16sdp"
- android:layout_marginBottom="@dimen/_8sdp"
- motion:layout_constraintBottom_toBottomOf="parent"
- motion:layout_constraintEnd_toEndOf="parent"
- motion:layout_constraintHorizontal_bias="0.0"
- motion:layout_constraintStart_toStartOf="parent"
- motion:layout_constraintTop_toTopOf="parent"
- motion:layout_constraintVertical_bias="0.55" />
- <Constraint
- android:id="@+id/home_fragment_list_exp"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginStart="@dimen/_16sdp"
- android:layout_marginLeft="@dimen/_16sdp"
- android:layout_marginTop="@dimen/_16sdp"
- android:layout_marginEnd="@dimen/_16sdp"
- android:layout_marginRight="@dimen/_16sdp"
- android:layout_marginBottom="@dimen/_8sdp"
- android:alpha="-2"
- motion:layout_constraintEnd_toEndOf="parent"
- motion:layout_constraintHorizontal_bias="0.5"
- motion:layout_constraintStart_toStartOf="parent"
- motion:layout_constraintTop_toBottomOf="parent" />
- <Constraint
- android:id="@+id/home_fragment_options"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:alpha="-3"
- motion:layout_constraintBottom_toBottomOf="parent"
- motion:layout_constraintStart_toStartOf="@+id/home_fragment_list_exp"
- motion:layout_constraintTop_toBottomOf="@+id/home_fragment_list_exp" />
- <Constraint
- android:id="@+id/home_fragment_notes"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:alpha="-3"
- motion:layout_constraintBottom_toBottomOf="parent"
- motion:layout_constraintEnd_toEndOf="@+id/home_fragment_list_exp"
- motion:layout_constraintTop_toBottomOf="@+id/home_fragment_list_exp" />
- <Constraint
- android:id="@+id/home_fragment_call"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginStart="@dimen/_8sdp"
- android:layout_marginLeft="@dimen/_8sdp"
- android:layout_marginBottom="@dimen/_8sdp"
- motion:layout_constraintBottom_toBottomOf="parent"
- motion:layout_constraintStart_toStartOf="parent" />
- <Constraint
- android:id="@+id/home_fragment_camera"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginEnd="@dimen/_8sdp"
- android:layout_marginRight="@dimen/_8sdp"
- android:layout_marginBottom="@dimen/_8sdp"
- motion:layout_constraintBottom_toBottomOf="parent"
- motion:layout_constraintEnd_toEndOf="parent" />
- </ConstraintSet>
- <ConstraintSet android:id="@+id/end">
- <Constraint
- android:id="@+id/home_fragment_time"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:alpha="-1"
- motion:layout_constraintBottom_toTopOf="@+id/home_fragment_date"
- motion:layout_constraintEnd_toEndOf="parent"
- motion:layout_constraintHorizontal_bias="0.5"
- motion:layout_constraintStart_toStartOf="parent" />
- <Constraint
- android:id="@+id/home_fragment_time_format"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/_16sdp"
- android:alpha="-1"
- motion:layout_constraintStart_toEndOf="@+id/home_fragment_time"
- motion:layout_constraintTop_toTopOf="@+id/home_fragment_time" />
- <Constraint
- android:id="@+id/home_fragment_date"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:alpha="-1"
- motion:layout_constraintBottom_toTopOf="parent"
- motion:layout_constraintEnd_toEndOf="@+id/home_fragment_time"
- motion:layout_constraintStart_toStartOf="@+id/home_fragment_time" />
- <Constraint
- android:id="@+id/home_fragment_list"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginStart="@dimen/_16sdp"
- android:layout_marginLeft="@dimen/_16sdp"
- android:layout_marginEnd="@dimen/_16sdp"
- android:layout_marginRight="@dimen/_16sdp"
- motion:layout_constraintBottom_toTopOf="@+id/home_fragment_list_exp"
- motion:layout_constraintEnd_toEndOf="parent"
- motion:layout_constraintHorizontal_bias="0.5"
- motion:layout_constraintStart_toStartOf="parent"
- motion:layout_constraintTop_toBottomOf="@+id/home_fragment_date"
- motion:layout_constraintVertical_chainStyle="packed" />
- <Constraint
- android:id="@+id/home_fragment_list_exp"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginStart="@dimen/_16sdp"
- android:layout_marginLeft="@dimen/_16sdp"
- android:layout_marginEnd="@dimen/_16sdp"
- android:layout_marginRight="@dimen/_16sdp"
- android:layout_marginBottom="@dimen/_32sdp"
- motion:layout_constraintBottom_toBottomOf="parent"
- motion:layout_constraintEnd_toEndOf="parent"
- motion:layout_constraintHorizontal_bias="0.5"
- motion:layout_constraintStart_toStartOf="parent"
- motion:layout_constraintTop_toBottomOf="@+id/home_fragment_list" />
- <Constraint
- android:id="@+id/home_fragment_options"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginStart="@dimen/_16sdp"
- android:layout_marginLeft="@dimen/_16sdp"
- android:layout_marginBottom="@dimen/_16sdp"
- motion:layout_constraintBottom_toBottomOf="parent"
- motion:layout_constraintStart_toStartOf="@+id/home_fragment_list_exp" />
- <Constraint
- android:id="@+id/home_fragment_call"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginStart="@dimen/_8sdp"
- android:layout_marginLeft="@dimen/_8sdp"
- android:alpha="-1"
- motion:layout_constraintStart_toStartOf="parent"
- motion:layout_constraintTop_toBottomOf="parent" />
- <Constraint
- android:id="@+id/home_fragment_camera"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginEnd="@dimen/_8sdp"
- android:layout_marginRight="@dimen/_8sdp"
- android:alpha="-1"
- motion:layout_constraintEnd_toEndOf="parent"
- motion:layout_constraintTop_toBottomOf="parent" />
- </ConstraintSet>
- </MotionScene>
|