-
Notifications
You must be signed in to change notification settings - Fork 8
/
avd_pause_to_play.xml
29 lines (29 loc) · 4.27 KB
/
avd_pause_to_play.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<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="69dp"
android:height="86dp"
android:viewportWidth="69"
android:viewportHeight="86">
<path
android:name="pause"
android:pathData="M 19.426 86.459 L 2.188 86.459 C 1.612 86.463 1.057 86.237 0.647 85.833 C 0.237 85.428 0.004 84.876 0 84.3 L 0 2.161 C 0.002 1.779 0.105 1.405 0.298 1.075 C 0.491 0.746 0.767 0.473 1.099 0.284 C 1.431 0.096 1.806 -0.002 2.188 0 L 19.426 0 C 19.808 -0.003 20.184 0.095 20.516 0.284 C 20.848 0.473 21.124 0.746 21.317 1.075 C 21.51 1.405 21.613 1.779 21.615 2.161 L 21.615 84.3 C 21.612 84.682 21.509 85.056 21.316 85.385 C 21.123 85.714 20.847 85.987 20.515 86.175 C 20.183 86.364 19.808 86.462 19.426 86.459 Z M 66.979 86.459 L 49.741 86.459 C 49.359 86.461 48.984 86.363 48.652 86.175 C 48.32 85.986 48.044 85.713 47.851 85.384 C 47.658 85.054 47.555 84.68 47.553 84.298 L 47.553 2.161 C 47.555 1.779 47.658 1.405 47.851 1.075 C 48.044 0.746 48.32 0.473 48.652 0.284 C 48.984 0.096 49.359 -0.002 49.741 0 L 66.979 0 C 67.361 -0.002 67.736 0.096 68.068 0.284 C 68.4 0.473 68.676 0.746 68.869 1.075 C 69.062 1.405 69.165 1.779 69.167 2.161 L 69.167 84.3 C 69.163 84.876 68.93 85.428 68.52 85.833 C 68.11 86.237 67.555 86.463 66.979 86.459 Z"
android:fillColor="#ffb74d"
android:strokeWidth="1"/>
</vector>
</aapt:attr>
<target android:name="pause">
<aapt:attr name="android:animation">
<objectAnimator
android:propertyName="pathData"
android:duration="300"
android:valueFrom="M 0 2.161 L 0 84.3 C 0.004 84.876 0.237 85.428 0.647 85.833 C 1.057 86.237 1.612 86.463 2.188 86.459 C 7.934 86.459 13.68 86.459 19.426 86.459 C 19.426 86.459 19.426 86.459 19.426 86.459 C 19.808 86.462 20.183 86.364 20.515 86.175 C 20.847 85.987 21.123 85.714 21.316 85.385 C 21.509 85.056 21.612 84.682 21.615 84.3 C 21.615 56.92 21.615 29.541 21.615 2.161 C 21.613 1.779 21.51 1.405 21.317 1.075 C 21.124 0.746 20.848 0.473 20.516 0.284 C 20.184 0.095 19.808 -0.003 19.426 0 L 2.188 0 C 1.806 -0.002 1.431 0.096 1.099 0.284 C 0.767 0.473 0.491 0.746 0.298 1.075 C 0.202 1.24 0.128 1.416 0.077 1.599 C 0.027 1.781 0.001 1.97 0 2.161 M 47.553 84.298 C 47.555 84.68 47.658 85.054 47.851 85.384 C 48.044 85.713 48.32 85.986 48.652 86.175 C 48.984 86.363 49.359 86.461 49.741 86.459 L 66.979 86.459 L 66.979 86.459 C 67.555 86.463 68.11 86.237 68.52 85.833 C 68.93 85.428 69.163 84.876 69.167 84.3 L 69.167 2.161 C 69.165 1.779 69.062 1.405 68.869 1.075 C 68.676 0.746 68.4 0.473 68.068 0.284 C 67.736 0.096 67.361 -0.002 66.979 0 L 49.741 0 C 49.359 -0.002 48.984 0.096 48.652 0.284 C 48.32 0.473 48.044 0.746 47.851 1.075 C 47.658 1.405 47.555 1.779 47.553 2.161 L 47.553 84.298"
android:valueTo="M 0 2.238 L 0 84.212 C -0.028 84.72 0.129 85.222 0.442 85.624 C 0.754 86.026 1.202 86.301 1.702 86.399 C 1.952 86.448 2.206 86.451 2.453 86.41 C 2.7 86.369 2.941 86.284 3.161 86.157 C 17.792 76.928 32.423 67.699 47.054 58.471 C 54.083 54.037 61.112 49.604 68.141 45.17 C 68.567 44.886 68.887 44.47 69.051 43.985 C 69.216 43.501 69.216 42.975 69.051 42.491 C 68.887 42.006 68.567 41.59 68.141 41.306 C 60.921 36.752 53.701 32.198 46.481 27.644 C 32.181 18.624 17.882 9.604 3.582 0.585 L 3.161 0.319 C 2.724 0.057 2.206 -0.036 1.705 0.058 C 1.204 0.151 0.754 0.424 0.44 0.825 C 0.126 1.227 -0.03 1.729 0 2.238 C 0 2.238 0 2.238 0 2.238 M 58.36 43.23 C 58.36 43.23 58.36 43.23 58.36 43.23 C 58.36 43.23 58.36 43.23 58.36 43.23 C 58.36 43.23 58.36 43.23 58.36 43.23 L 58.36 43.23 L 58.36 43.23 C 58.36 43.23 58.36 43.23 58.36 43.23 C 58.36 43.23 58.36 43.23 58.36 43.23 L 58.36 43.23 C 58.36 43.23 58.36 43.23 58.36 43.23 C 58.36 43.23 58.36 43.23 58.36 43.23 C 58.36 43.23 58.36 43.23 58.36 43.23 L 58.36 43.23 C 58.36 43.23 58.36 43.23 58.36 43.23 C 58.36 43.23 58.36 43.23 58.36 43.23 C 58.36 43.23 58.36 43.23 58.36 43.23 L 58.36 43.23"
android:valueType="pathType"
android:interpolator="@android:anim/decelerate_interpolator"/>
</aapt:attr>
</target>
</animated-vector>