|
|
@@ -0,0 +1,210 @@
|
|
|
+<?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_time"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/_42sdp"
|
|
|
+ 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"
|
|
|
+ app:layout_constraintEnd_toEndOf="@+id/home_fragment_time"
|
|
|
+ app:layout_constraintStart_toStartOf="@+id/home_fragment_time"
|
|
|
+ app: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"
|
|
|
+ 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/_64sdp"
|
|
|
+ android:alpha="-1"
|
|
|
+ app:layout_constraintBottom_toTopOf="@+id/home_fragment_date"
|
|
|
+ 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: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>
|