Cleans up scrolling animation
parent
69e9617272
commit
2fb7881a06
|
@ -14,10 +14,43 @@
|
|||
motion:touchAnchorId="@id/session_list"
|
||||
motion:touchAnchorSide="top" />
|
||||
|
||||
<KeyFrameSet>
|
||||
<KeyPosition
|
||||
motion:keyPositionType="pathRelative"
|
||||
motion:framePosition="50"
|
||||
motion:target="@id/wordmark"
|
||||
motion:percentX="0.9" />
|
||||
|
||||
|
||||
<KeyAttribute
|
||||
motion:target="@id/wordmark"
|
||||
motion:framePosition="50"
|
||||
android:alpha="1" />
|
||||
<KeyAttribute
|
||||
motion:target="@id/wordmark"
|
||||
motion:framePosition="90"
|
||||
android:alpha="0" />
|
||||
|
||||
<KeyAttribute
|
||||
motion:target="@id/menuButton"
|
||||
motion:framePosition="50"
|
||||
android:alpha="1" />
|
||||
<KeyAttribute
|
||||
motion:target="@id/menuButton"
|
||||
motion:framePosition="90"
|
||||
android:alpha="0" />
|
||||
<KeyAttribute
|
||||
motion:target="@id/privateBrowsingButton"
|
||||
motion:framePosition="50"
|
||||
android:alpha="1" />
|
||||
<KeyAttribute
|
||||
motion:target="@id/privateBrowsingButton"
|
||||
motion:framePosition="90"
|
||||
android:alpha="0" />
|
||||
</KeyFrameSet>
|
||||
</Transition>
|
||||
|
||||
<ConstraintSet android:id="@+id/start">
|
||||
|
||||
</ConstraintSet>
|
||||
|
||||
<ConstraintSet android:id="@+id/end">
|
||||
|
@ -25,6 +58,7 @@
|
|||
android:id="@+id/wordmark"
|
||||
android:layout_marginLeft="16dp"
|
||||
android:layout_marginTop="12dp"
|
||||
android:alpha="0"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
motion:layout_constraintLeft_toLeftOf="parent"
|
||||
|
@ -37,10 +71,27 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="16dp"
|
||||
android:layout_marginRight="16dp"
|
||||
motion:layout_constraintTop_toBottomOf="@id/wordmark"
|
||||
motion:layout_constraintTop_toTopOf="parent"
|
||||
motion:layout_constraintLeft_toLeftOf="parent"
|
||||
motion:layout_constraintRight_toRightOf="parent"
|
||||
android:elevation="0dp"/>
|
||||
|
||||
<Constraint
|
||||
android:id="@+id/menuButton"
|
||||
android:alpha="0"
|
||||
android:layout_marginTop="16dp"
|
||||
android:layout_height="@dimen/glyph_button_height"
|
||||
android:layout_width="@dimen/glyph_button_height"
|
||||
motion:layout_constraintEnd_toEndOf="parent"
|
||||
motion:layout_constraintTop_toTopOf="parent"/>
|
||||
|
||||
<Constraint
|
||||
android:id="@+id/privateBrowsingButton"
|
||||
android:alpha="0"
|
||||
android:layout_height="@dimen/glyph_button_height"
|
||||
android:layout_width="@dimen/glyph_button_height"
|
||||
motion:layout_constraintEnd_toStartOf="@id/menuButton"
|
||||
motion:layout_constraintTop_toTopOf="@id/menuButton"/>
|
||||
</ConstraintSet>
|
||||
|
||||
</MotionScene>
|
Loading…
Reference in New Issue