Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

72 lines
3.7KB

  1. <animated-vector
  2. xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:aapt="http://schemas.android.com/aapt">
  4. <aapt:attr name="android:drawable">
  5. <vector
  6. android:name="vector"
  7. android:width="128dp"
  8. android:height="128dp"
  9. android:viewportWidth="128"
  10. android:viewportHeight="128">
  11. <group
  12. android:name="wrapper"
  13. android:translateX="21"
  14. android:translateY="21">
  15. <group android:name="group">
  16. <path
  17. android:name="path"
  18. android:pathData="M 74.853 85.823 L 75.368 85.823 C 80.735 85.823 85.144 81.803 85.761 76.602 L 85.836 41.76 C 85.225 18.593 66.254 0 42.939 0 C 19.24 0 0.028 19.212 0.028 42.912 C 0.028 66.357 18.831 85.418 42.18 85.823 L 74.853 85.823 Z"
  19. android:fillColor="#00ffffff"
  20. android:strokeWidth="1"/>
  21. <path
  22. android:name="path_1"
  23. android:pathData="M 43.059 14.614 C 29.551 14.614 18.256 24.082 15.445 36.743 C 18.136 37.498 20.109 39.968 20.109 42.899 C 20.109 45.831 18.136 48.301 15.445 49.055 C 18.256 61.716 29.551 71.184 43.059 71.184 C 47.975 71.184 52.599 69.93 56.628 67.723 L 56.628 70.993 L 71.344 70.993 L 71.344 44.072 C 71.357 43.714 71.344 43.26 71.344 42.899 C 71.344 27.278 58.68 14.614 43.059 14.614 Z M 29.51 42.899 C 29.51 35.416 35.576 29.35 43.059 29.35 C 50.541 29.35 56.607 35.416 56.607 42.899 C 56.607 50.382 50.541 56.448 43.059 56.448 C 35.576 56.448 29.51 50.382 29.51 42.899 Z"
  24. android:fillColor="#00ffffff"
  25. android:strokeWidth="1"
  26. android:fillType="evenOdd"/>
  27. <path
  28. android:name="path_2"
  29. android:pathData="M 18.105 42.88 C 18.105 45.38 16.078 47.407 13.579 47.407 C 11.079 47.407 9.052 45.38 9.052 42.88 C 9.052 40.381 11.079 38.354 13.579 38.354 C 16.078 38.354 18.105 40.381 18.105 42.88 Z"
  30. android:fillColor="#00ffffff"
  31. android:strokeWidth="1"/>
  32. </group>
  33. </group>
  34. </vector>
  35. </aapt:attr>
  36. <target android:name="path_2">
  37. <aapt:attr name="android:animation">
  38. <objectAnimator
  39. android:propertyName="fillColor"
  40. android:startOffset="100"
  41. android:duration="900"
  42. android:valueFrom="#00ffffff"
  43. android:valueTo="#161c2d"
  44. android:valueType="colorType"
  45. android:interpolator="@android:interpolator/fast_out_slow_in"/>
  46. </aapt:attr>
  47. </target>
  48. <target android:name="path">
  49. <aapt:attr name="android:animation">
  50. <objectAnimator
  51. android:propertyName="fillColor"
  52. android:duration="500"
  53. android:valueFrom="#00ffffff"
  54. android:valueTo="#f9f9fb"
  55. android:valueType="colorType"
  56. android:interpolator="@android:interpolator/fast_out_slow_in"/>
  57. </aapt:attr>
  58. </target>
  59. <target android:name="path_1">
  60. <aapt:attr name="android:animation">
  61. <objectAnimator
  62. android:propertyName="fillColor"
  63. android:startOffset="100"
  64. android:duration="900"
  65. android:valueFrom="#00ffffff"
  66. android:valueTo="#161c2d"
  67. android:valueType="colorType"
  68. android:interpolator="@android:interpolator/fast_out_slow_in"/>
  69. </aapt:attr>
  70. </target>
  71. </animated-vector>