| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| Copyright 2019 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. |
| --> |
| |
| <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:width="56dp" |
| android:height="56dp" |
| android:viewportHeight="56" |
| android:viewportWidth="56"> |
| <path |
| android:fillColor="#fff" |
| android:pathData="M32.95,19 C31.036,19 29.199,19.8828338 28,21.2724796 C26.801,19.8828338 24.964,19 23.05,19 C19.6565,19 17,21.6321526 17,24.9945504 C17,29.1089918 20.74,32.4713896 26.405,37.5667575 L28,39 L29.595,37.5667575 C35.26,32.4713896 39,29.1089918 39,24.9945504 C39,21.6321526 36.3435,19 32.95,19 L32.95,19 Z M28.1155,35.9536785 L28,36.0572207 L27.8845,35.9536785 C22.654,31.2506812 19.2,28.1444142 19.2,24.9945504 C19.2,22.8201635 20.8555,21.1798365 23.05,21.1798365 C24.744,21.1798365 26.394,22.2643052 26.9715,23.7520436 L29.023,23.7520436 C29.606,22.2643052 31.256,21.1798365 32.95,21.1798365 C35.1445,21.1798365 36.8,22.8201635 36.8,24.9945504 C36.8,28.1444142 33.346,31.2506812 28.1155,35.9536785 L28.1155,35.9536785 Z"/> |
| <group android:name="filled"> |
| <clip-path |
| android:name="clip" |
| android:pathData="M18,38 C18,38 24,38 24,38 C24,38 32,38 32,38 C32,38 38,38 38,38 L38,38 L18,38 L18,18 Z"/> |
| <path |
| android:fillColor="#fff" |
| android:pathData="M28,39 L26.405,37.5667575 C20.74,32.4713896 17,29.1089918 17,24.9945504 C17,21.6321526 19.6565,19 23.05,19 C24.964,19 26.801,19.8828338 28,21.2724796 C29.199,19.8828338 31.036,19 32.95,19 C36.3435,19 39,21.6321526 39,24.9945504 C39,29.1089918 35.26,32.4713896 29.595,37.5667575 L28,39 L28,39 Z"/> |
| </group> |
| </vector> |
| |
| </aapt:attr> |
| |
| <target android:name="clip"> |
| <aapt:attr name="android:animation"> |
| |
| <set android:ordering="sequentially"> |
| <objectAnimator |
| android:duration="160" |
| android:interpolator="@android:interpolator/fast_out_linear_in" |
| android:propertyName="pathData" |
| android:valueFrom="M18,18 C18,18 24,18 24,18 C24,18 32,18 32,18 C32,18 38,18 38,18 L38,38 L18,38 L18,18 Z" |
| android:valueTo="M18,26 C18,26 21,28 24,28 C27,28 29,25 32,25 C35,25 38,26 38,26 L38,38 L18,38 L18,26 Z" |
| android:valueType="pathType"/> |
| <objectAnimator |
| android:duration="120" |
| android:interpolator="@android:interpolator/linear_out_slow_in" |
| android:propertyName="pathData" |
| android:valueFrom="M18,26 C18,26 21,28 24,28 C27,28 29,25 32,25 C35,25 38,26 38,26 L38,38 L18,38 L18,26 Z" |
| android:valueTo="M18,38 C18,38 24,38 24,38 C24,38 32,38 32,38 C32,38 38,38 38,38 L38,38 L18,38 L18,18 Z" |
| android:valueType="pathType"/> |
| </set> |
| |
| </aapt:attr> |
| </target> |
| |
| </animated-vector> |