mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 01:46:49 +00:00
- Adds a new launch target in Dev options - Moves Back handling to the parent TutorialFragment (so all Tutorials can handle it as necessary) - Currently uses a dummy translating rectangle in place of a proper hand animation - No actual home gesture recognition is in place yet Test: Manual Bug: 148542211 Change-Id: Ic5a545eb9f5003914803272c8ffe367220d63336
46 lines
1.6 KiB
XML
46 lines
1.6 KiB
XML
<!--
|
|
Copyright (C) 2020 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<!-- Dummy translating rectangle until we have a proper animation. -->
|
|
<animated-vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:aapt="http://schemas.android.com/aapt" >
|
|
<aapt:attr name="android:drawable">
|
|
<vector
|
|
android:height="64dp"
|
|
android:width="64dp"
|
|
android:viewportHeight="600"
|
|
android:viewportWidth="600" >
|
|
<group
|
|
android:name="translationGroup"
|
|
android:pivotX="300.0"
|
|
android:pivotY="300.0"
|
|
android:rotation="180.0" >
|
|
<path
|
|
android:fillColor="#eeeeee"
|
|
android:pathData="M300,70 l 0,-70 70,0 0,140 -70,0 z" />
|
|
</group>
|
|
</vector>
|
|
</aapt:attr>
|
|
|
|
<target android:name="translationGroup">
|
|
<aapt:attr name="android:animation">
|
|
<objectAnimator
|
|
android:duration="3000"
|
|
android:propertyName="translateY"
|
|
android:valueFrom="0"
|
|
android:valueTo="-100" />
|
|
</aapt:attr>
|
|
</target>
|
|
</animated-vector> |