diff options
| author | Jules Aguillon | 2025-04-12 23:25:41 +0200 |
|---|---|---|
| committer | Jules Aguillon | 2025-04-12 23:25:41 +0200 |
| commit | 9fac081ab819683b60a06824580d6f2496d918c9 (patch) | |
| tree | a7413d62e9a8ad74fdecfede3bd650474acc5dd3 /res/drawable/doc_anim_swipe.xml | |
| parent | b4e8b10e2b272cd2109468e6baac6c82c5056340 (diff) | |
| download | unexpected-keyboard-9fac081ab819683b60a06824580d6f2496d918c9.tar.gz unexpected-keyboard-9fac081ab819683b60a06824580d6f2496d918c9.zip | |
launcher: Remove fade-in in animations
The fade-in caused the trace to be hidden when animations are disabled.
Diffstat (limited to 'res/drawable/doc_anim_swipe.xml')
| -rw-r--r-- | res/drawable/doc_anim_swipe.xml | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/res/drawable/doc_anim_swipe.xml b/res/drawable/doc_anim_swipe.xml index 6e91d30..fc063cf 100644 --- a/res/drawable/doc_anim_swipe.xml +++ b/res/drawable/doc_anim_swipe.xml @@ -2,23 +2,13 @@ <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:name="vector" android:width="35dp" android:height="40dp" android:viewportWidth="35" android:viewportHeight="40"> - <path android:name="trace" android:pathData="M 0 0" android:fillColor="#09b3f1" android:strokeColor="#09b3f1" android:strokeWidth="2" android:strokeLineCap="round"/> + <path android:name="trace" android:pathData=" M 31 4 m 2,0 a 2,2 0 1,1 -4,0 a 2,2 0 1,1 4,0 M 17.5 20.0 L 31 ,4" android:fillColor="#09b3f1" android:strokeColor="#09b3f1" android:strokeWidth="2" android:strokeLineCap="round"/> </vector> </aapt:attr> <target android:name="trace"> <aapt:attr name="android:animation"> <set> - <objectAnimator android:propertyName="fillAlpha" android:duration="100" android:valueFrom="0" android:valueTo="1" android:valueType="floatType" android:interpolator="@android:interpolator/fast_out_slow_in"/> - <objectAnimator android:propertyName="strokeAlpha" android:duration="100" android:valueFrom="0" android:valueTo="1" android:valueType="floatType" android:interpolator="@android:interpolator/fast_out_slow_in"/> - <objectAnimator - android:propertyName="pathData" - android:duration="700" - android:valueFrom="M 17.5 20.0 m 2,0 a 2,2 0 1,1 -4,0 a 2,2 0 1,1 4,0 M 17.5 20.0 L 17.5,20.0" - android:valueTo=" M 31 4 m 2,0 a 2,2 0 1,1 -4,0 a 2,2 0 1,1 4,0 M 17.5 20.0 L 31 ,4" - android:valueType="pathType" - android:interpolator="@android:interpolator/linear_out_slow_in"/> - <objectAnimator android:propertyName="fillAlpha" android:startOffset="900" android:duration="400" android:valueFrom="1" android:valueTo="0" android:valueType="floatType" android:interpolator="@android:interpolator/linear_out_slow_in"/> - <objectAnimator android:propertyName="strokeAlpha" android:startOffset="900" android:duration="400" android:valueFrom="1" android:valueTo="0" android:valueType="floatType" android:interpolator="@android:interpolator/linear_out_slow_in"/> + <objectAnimator android:propertyName="pathData" android:duration="700" android:valueFrom="M 17.5 20.0 m 2,0 a 2,2 0 1,1 -4,0 a 2,2 0 1,1 4,0 M 17.5 20.0 L 17.5,20.0" android:valueTo=" M 31 4 m 2,0 a 2,2 0 1,1 -4,0 a 2,2 0 1,1 4,0 M 17.5 20.0 L 31 ,4" android:valueType="pathType" android:interpolator="@android:interpolator/linear_out_slow_in"/> </set> </aapt:attr> </target> |
