30 lines
2.1 KiB
XML
30 lines
2.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<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="24dp"
|
|
android:height="24dp"
|
|
android:viewportWidth="24"
|
|
android:viewportHeight="24">
|
|
<path
|
|
android:name="path"
|
|
android:pathData="M 16.5 3 C 14.76 3 13.09 3.81 12 5.09 C 10.91 3.81 9.24 3 7.5 3 C 4.42 3 2 5.42 2 8.5 C 2 12.28 5.4 15.36 10.55 20.04 L 12 21.35 L 13.45 20.03 C 18.6 15.36 22 12.28 22 8.5 C 22 5.42 19.58 3 16.5 3 Z M 12.1 18.55 L 12 18.65 L 11.9 18.55 C 7.14 14.24 4 11.39 4 8.5 C 4 6.5 5.5 5 7.5 5 C 9.04 5 10.54 5.99 11.07 7.36 L 12.94 7.36 C 13.46 5.99 14.96 5 16.5 5 C 18.5 5 20 6.5 20 8.5 C 20 11.39 16.86 14.24 12.1 18.55 Z"
|
|
android:fillColor="#000000"/>
|
|
</vector>
|
|
</aapt:attr>
|
|
<target android:name="path">
|
|
<aapt:attr name="android:animation">
|
|
<objectAnimator
|
|
android:propertyName="pathData"
|
|
android:duration="300"
|
|
android:valueFrom="M 12 21.35 L 10.55 20.04 C 5.4 15.36 2 12.28 2 8.5 C 2 5.42 4.42 3 7.5 3 C 9.24 3 10.91 3.81 12 5.09 C 13.09 3.81 14.76 3 16.5 3 L 16.5 3 C 19.58 3 22 5.42 22 8.5 C 22 12.28 18.6 15.36 13.45 20.03 L 12.725 20.69 L 12 21.35 M 11.07 7.36 C 10.54 5.99 9.04 5 7.5 5 C 5.5 5 4 6.5 4 8.5 C 4 11.39 7.14 14.24 11.9 18.55 L 12 18.65 L 12.1 18.55 L 12.1 18.55 C 16.86 14.24 20 11.39 20 8.5 C 20 6.5 18.5 5 16.5 5 C 14.96 5 13.46 5.99 12.94 7.36 L 11.07 7.36"
|
|
android:valueTo="M 12 21.35 L 10.55 20.03 C 5.4 15.36 2 12.28 2 8.5 C 2 5.42 4.42 3 7.5 3 C 9.24 3 10.91 3.81 12 5.09 C 13.09 3.81 14.76 3 16.5 3 L 16.5 3 C 19.58 3 22 5.42 22 8.5 C 22 12.28 18.6 15.36 13.45 20.04 L 12 21.35 L 12 21.35 M 12 11.825 C 12 11.825 12 11.825 12 11.825 C 12 11.825 12 11.825 12 11.825 C 12 11.825 12 11.825 12 11.825 L 12 11.825 L 12 11.825 L 12 11.825 C 12 11.825 12 11.825 12 11.825 C 12 11.825 12 11.825 12 11.825 C 12 11.825 12 11.825 12 11.825 L 12 11.825"
|
|
android:valueType="pathType"
|
|
android:interpolator="@android:interpolator/fast_out_slow_in"/>
|
|
</aapt:attr>
|
|
</target>
|
|
</animated-vector>
|