1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  Copyright 2019 The Android Open Source Project
4
5  Licensed under the Apache License, Version 2.0 (the "License");
6  you may not use this file except in compliance with the License.
7  You may obtain a copy of the License at
8
9       http://www.apache.org/licenses/LICENSE-2.0
10
11  Unless required by applicable law or agreed to in writing, software
12  distributed under the License is distributed on an "AS IS" BASIS,
13  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  See the License for the specific language governing permissions and
15  limitations under the License.
16  -->
17
18<animated-vector
19        xmlns:android="http://schemas.android.com/apk/res/android"
20        xmlns:aapt="http://schemas.android.com/aapt">
21
22    <aapt:attr name="android:drawable">
23
24        <vector
25                android:width="56dp"
26                android:height="56dp"
27                android:viewportHeight="56"
28                android:viewportWidth="56">
29            <path
30                    android:fillColor="#fff"
31                    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"/>
32            <group android:name="filled">
33                <clip-path
34                        android:name="clip"
35                        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"/>
36                <path
37                        android:fillColor="#fff"
38                        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"/>
39            </group>
40        </vector>
41
42    </aapt:attr>
43
44    <target android:name="clip">
45        <aapt:attr name="android:animation">
46
47            <set android:ordering="sequentially">
48                <objectAnimator
49                        android:duration="160"
50                        android:interpolator="@android:interpolator/fast_out_linear_in"
51                        android:propertyName="pathData"
52                        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"
53                        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"
54                        android:valueType="pathType"/>
55                <objectAnimator
56                        android:duration="120"
57                        android:interpolator="@android:interpolator/linear_out_slow_in"
58                        android:propertyName="pathData"
59                        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"
60                        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"
61                        android:valueType="pathType"/>
62            </set>
63
64        </aapt:attr>
65    </target>
66
67</animated-vector>
68