1<?xml version="1.0" encoding="utf-8"?> 2<MotionScene 3 xmlns:android="http://schemas.android.com/apk/res/android" 4 xmlns:motion="http://schemas.android.com/apk/res-auto" 5 xmlns:androidprv="http://schemas.android.com/apk/res-auto"> 6 7 <Transition 8 motion:constraintSetStart="@id/single_constraints" 9 motion:constraintSetEnd="@+id/split_constraints" 10 motion:duration="0" 11 motion:autoTransition="none"/> 12 13 <Transition 14 motion:constraintSetStart="@id/single_constraints" 15 motion:constraintSetEnd="@+id/half_folded_single_constraints" 16 motion:duration="@integer/material_motion_duration_short_1" 17 motion:autoTransition="none"/> 18 19 <!-- No changes to default layout --> 20 <ConstraintSet android:id="@+id/single_constraints"/> 21 22 <ConstraintSet android:id="@+id/half_folded_single_constraints"> 23 24 <Constraint 25 android:id="@+id/pattern_top_guideline" 26 androidprv:layout_constraintGuide_percent= 27 "@dimen/motion_layout_half_fold_bouncer_height_ratio"/> 28 29 <Constraint 30 android:id="@+id/keyguard_selector_fade_container" 31 android:layout_width="match_parent" 32 android:layout_height="wrap_content" 33 android:layout_marginBottom="0dp" 34 android:layout_marginTop="@dimen/keyguard_eca_top_margin" 35 android:orientation="vertical" 36 androidprv:layout_constraintBottom_toBottomOf="parent" 37 androidprv:layout_constraintTop_toBottomOf="@+id/flow1"/> 38 39 </ConstraintSet> 40 41 <ConstraintSet android:id="@+id/split_constraints"> 42 43 <Constraint 44 android:id="@+id/keyguard_bouncer_message_container" 45 android:layout_width="0dp" 46 android:layout_height="wrap_content" 47 androidprv:layout_constraintEnd_toStartOf="@+id/pattern_center_guideline" 48 androidprv:layout_constraintStart_toStartOf="parent" 49 androidprv:layout_constraintTop_toTopOf="parent" /> 50 <Constraint 51 android:id="@+id/lockPatternView" 52 android:layout_width="0dp" 53 android:layout_height="0dp" 54 androidprv:layout_constraintDimensionRatio="1.0" 55 androidprv:layout_constraintVertical_bias="0.5" 56 androidprv:layout_constraintBottom_toBottomOf="parent" 57 androidprv:layout_constraintEnd_toEndOf="parent" 58 androidprv:layout_constraintStart_toStartOf="@+id/pattern_center_guideline" 59 androidprv:layout_constraintTop_toTopOf="parent" 60 android:layout_marginBottom="0dp" /> 61 <Constraint 62 android:id="@+id/keyguard_selector_fade_container" 63 android:layout_width="0dp" 64 android:layout_height="wrap_content" 65 androidprv:layout_constraintBottom_toBottomOf="parent" 66 androidprv:layout_constraintEnd_toStartOf="@+id/pattern_center_guideline" 67 androidprv:layout_constraintStart_toStartOf="parent" 68 android:layout_marginBottom="@dimen/keyguard_eca_bottom_margin" 69 android:layout_marginTop="@dimen/keyguard_eca_top_margin" /> 70 71 </ConstraintSet> 72</MotionScene>