| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259 |
- <?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"
- xmlns:motion="http://schemas.android.com/apk/res-auto">
- <Transition
- motion:constraintSetEnd="@+id/home_motion_02"
- motion:constraintSetStart="@+id/home_motion_01"
- motion:duration="250">
- <OnSwipe
- motion:dragDirection="dragUp"
- motion:touchAnchorId="@+id/home_fragment_list"
- motion:touchAnchorSide="bottom" />
- </Transition>
- <ConstraintSet android:id="@+id/home_motion_01">
- <Constraint
- android:id="@+id/home_fragment_analog_time"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/_22sdp"
- app:visibilityMode="ignore"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_bias="0.5"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"/>
- <Constraint
- android:id="@+id/home_fragment_bin_time"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/_42sdp"
- android:padding="@dimen/_4sdp"
- app:visibilityMode="ignore"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_bias="0.506"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"/>
- <Constraint
- android:id="@+id/home_fragment_time"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/_42sdp"
- app:visibilityMode="ignore"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_bias="0.506"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <Constraint
- android:id="@+id/home_fragment_date"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:padding="@dimen/_4sdp"
- android:textSize="@dimen/_12sdp"
- android:layout_marginTop="@dimen/_94sdp"
- app:visibilityMode="ignore"
- app:layout_constraintEnd_toEndOf="@+id/home_fragment_time"
- app:layout_constraintStart_toStartOf="@+id/home_fragment_time"
- app:layout_constraintTop_toTopOf="parent" />
- <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"
- app:layout_constraintBottom_toTopOf="@+id/home_fragment_list_exp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_bias="0.0"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/home_fragment_date"
- app:layout_constraintVertical_bias="0.3"
- app: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/_8sdp"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_bias="0.0"
- app:layout_constraintStart_toStartOf="parent"
- app: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_marginBottom="@dimen/_8sdp"
- android:alpha="1"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toStartOf="@+id/home_fragment_camera"
- app:layout_constraintStart_toEndOf="@+id/home_fragment_call" />
- <Constraint
- android:id="@+id/home_fragment_call"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginStart="@dimen/_8sdp"
- android:layout_marginBottom="@dimen/_8sdp"
- app:layout_constraintBottom_toBottomOf="parent"
- app: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_marginBottom="@dimen/_8sdp"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent" />
- <Constraint
- android:id="@+id/app_drawer_edit_text"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginStart="8dp"
- android:layout_marginLeft="8dp"
- android:layout_marginTop="32dp"
- android:layout_marginEnd="8dp"
- android:layout_marginRight="8dp"
- app:visibilityMode="ignore"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/app_drawer_fragment_list" />
- <Constraint
- android:id="@+id/app_drawer_fragment_list"
- android:layout_width="0dp"
- android:layout_height="0dp"
- android:layout_marginStart="8dp"
- android:layout_marginLeft="8dp"
- android:layout_marginEnd="8dp"
- android:layout_marginRight="8dp"
- android:alpha="-1"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="parent" />
- </ConstraintSet>
- <ConstraintSet android:id="@+id/home_motion_02">
- <Constraint
- android:id="@+id/home_fragment_time"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/_44sdp"
- android:alpha="-1"
- app:visibilityMode="ignore"
- app:layout_constraintBottom_toTopOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_bias="0.5"
- app:layout_constraintStart_toStartOf="parent" />
- <Constraint
- android:id="@+id/home_fragment_analog_time"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="0px"
- android:alpha="0"
- app:visibilityMode="ignore"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_bias="0.5"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintBottom_toTopOf="parent"
- app:layout_constraintTop_toTopOf="parent"/>
- <Constraint
- android:id="@+id/home_fragment_bin_time"
- android:layout_width="wrap_content"
- android:layout_height="0px"
- android:layout_marginTop="0px"
- android:alpha="-1"
- app:visibilityMode="ignore"
- app:layout_constraintBottom_toTopOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_bias="0.5"
- app:layout_constraintStart_toStartOf="parent" />
- <Constraint
- android:id="@+id/home_fragment_date"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:alpha="-1"
- app:visibilityMode="ignore"
- app:layout_constraintBottom_toTopOf="parent"
- app:layout_constraintEnd_toEndOf="@+id/home_fragment_time"
- app: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"
- android:alpha="-1"
- app:layout_constraintBottom_toTopOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_bias="0.5"
- app:layout_constraintStart_toStartOf="parent" />
- <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/_8sdp"
- android:alpha="-1"
- app:layout_constraintBottom_toTopOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_bias="0.5"
- app:layout_constraintStart_toStartOf="parent" />
- <Constraint
- android:id="@+id/home_fragment_options"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:alpha="-3"
- app:layout_constraintTop_toBottomOf="parent" />
- <Constraint
- android:id="@+id/home_fragment_call"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginStart="@dimen/_8sdp"
- android:alpha="-1"
- app:layout_constraintStart_toStartOf="parent"
- app: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:alpha="-1"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintTop_toBottomOf="parent" />
- <Constraint
- android:id="@+id/app_drawer_edit_text"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginStart="8dp"
- android:layout_marginLeft="8dp"
- android:layout_marginTop="32dp"
- android:layout_marginEnd="8dp"
- android:layout_marginRight="8dp"
- app:visibilityMode="ignore"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintBottom_toBottomOf="parent" />
- <Constraint
- android:id="@+id/app_drawer_fragment_list"
- android:layout_width="0dp"
- android:layout_height="0dp"
- android:layout_marginStart="8dp"
- android:layout_marginLeft="8dp"
- android:layout_marginEnd="8dp"
- android:layout_marginRight="8dp"
- app:layout_constraintBottom_toTopOf="@id/app_drawer_edit_text"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- </ConstraintSet>
- </MotionScene>
|