2019-01-11 18:44:22 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-01-11 19:08:02 +01:00
|
|
|
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
2019-01-11 18:44:22 +01:00
|
|
|
<MotionScene
|
2019-04-05 18:38:14 +02:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:motion="http://schemas.android.com/apk/res-auto">
|
2019-01-11 18:44:22 +01:00
|
|
|
|
|
|
|
<Transition
|
|
|
|
motion:constraintSetStart="@+id/start"
|
|
|
|
motion:constraintSetEnd="@+id/end">
|
|
|
|
<OnSwipe
|
2019-04-05 18:38:14 +02:00
|
|
|
motion:dragDirection="dragUp"
|
2019-04-06 06:24:28 +02:00
|
|
|
motion:touchAnchorId="@id/home_component"
|
2019-07-08 18:11:22 +02:00
|
|
|
motion:touchAnchorSide="top"
|
|
|
|
motion:onTouchUp="stop"/>
|
2019-01-11 18:44:22 +01:00
|
|
|
|
2019-01-29 00:20:17 +01:00
|
|
|
<KeyFrameSet>
|
|
|
|
<KeyAttribute
|
2019-04-05 18:38:14 +02:00
|
|
|
motion:motionTarget="@id/wordmark"
|
2019-01-29 00:20:17 +01:00
|
|
|
motion:framePosition="90"
|
|
|
|
android:alpha="0" />
|
|
|
|
<KeyAttribute
|
2019-04-05 18:38:14 +02:00
|
|
|
motion:motionTarget="@id/privateBrowsingButton"
|
2019-01-29 00:20:17 +01:00
|
|
|
motion:framePosition="90"
|
|
|
|
android:alpha="0" />
|
|
|
|
</KeyFrameSet>
|
2019-01-11 18:44:22 +01:00
|
|
|
</Transition>
|
|
|
|
|
|
|
|
<ConstraintSet android:id="@+id/start">
|
|
|
|
</ConstraintSet>
|
|
|
|
|
|
|
|
<ConstraintSet android:id="@+id/end">
|
|
|
|
<Constraint
|
2019-04-05 18:38:14 +02:00
|
|
|
android:id="@+id/wordmark"
|
|
|
|
android:layout_marginStart="16dp"
|
2019-09-20 21:11:28 +02:00
|
|
|
android:layout_marginBottom="32dp"
|
2019-04-05 18:38:14 +02:00
|
|
|
android:alpha="0"
|
|
|
|
android:layout_width="wrap_content"
|
2019-04-23 16:20:19 +02:00
|
|
|
android:layout_height="80dp"
|
2019-04-05 18:38:14 +02:00
|
|
|
android:translationY="-10dp"
|
|
|
|
motion:layout_constraintStart_toStartOf="parent"
|
2019-09-20 20:33:00 +02:00
|
|
|
motion:layout_constraintBottom_toTopOf="parent" />
|
2019-01-29 00:20:17 +01:00
|
|
|
|
|
|
|
<Constraint
|
2019-09-20 20:33:00 +02:00
|
|
|
android:id="@+id/privateBrowsingButton"
|
2019-01-29 00:20:17 +01:00
|
|
|
android:alpha="0"
|
2019-05-10 01:16:33 +02:00
|
|
|
android:visibility="invisible"
|
2019-01-29 00:20:17 +01:00
|
|
|
android:layout_width="@dimen/glyph_button_height"
|
2019-09-20 20:33:00 +02:00
|
|
|
android:layout_height="@dimen/glyph_button_height"
|
|
|
|
android:layout_marginEnd="12dp"
|
|
|
|
android:translationY="-32dp"
|
2019-01-29 00:20:17 +01:00
|
|
|
motion:layout_constraintEnd_toEndOf="parent"
|
|
|
|
motion:layout_constraintTop_toTopOf="parent"/>
|
2019-01-11 18:44:22 +01:00
|
|
|
</ConstraintSet>
|
2019-04-05 18:38:14 +02:00
|
|
|
</MotionScene>
|