1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2017 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16<animated-selector xmlns:android="http://schemas.android.com/apk/res/android"
17    android:constantSize="true">
18    <item
19        android:id="@+id/off"
20        android:drawable="@drawable/ws_switch_thumb_mtrl_14w"
21        android:state_enabled="false" />
22    <item
23        android:id="@+id/on"
24        android:drawable="@drawable/ws_switch_thumb_mtrl_14w"
25        android:state_checked="true" />
26    <item
27        android:id="@id/off"
28        android:drawable="@drawable/ws_switch_thumb_mtrl_14w" />
29    <transition
30        android:fromId="@id/off"
31        android:toId="@id/on">
32        <animation-list>
33            <item
34                android:drawable="@drawable/ws_switch_thumb_mtrl_14w"
35                android:duration="30" />
36            <item
37                android:drawable="@drawable/ws_switch_thumb_mtrl_15w"
38                android:duration="15" />
39            <item
40                android:drawable="@drawable/ws_switch_thumb_mtrl_16w"
41                android:duration="15" />
42            <item
43                android:drawable="@drawable/ws_switch_thumb_mtrl_17w"
44                android:duration="15" />
45            <item
46                android:drawable="@drawable/ws_switch_thumb_mtrl_18w"
47                android:duration="75" />
48            <item
49                android:drawable="@drawable/ws_switch_thumb_mtrl_17w"
50                android:duration="15" />
51            <item
52                android:drawable="@drawable/ws_switch_thumb_mtrl_16w"
53                android:duration="15" />
54            <item
55                android:drawable="@drawable/ws_switch_thumb_mtrl_15w"
56                android:duration="15" />
57            <item
58                android:drawable="@drawable/ws_switch_thumb_mtrl_14w"
59                android:duration="30" />
60        </animation-list>
61    </transition>
62    <transition
63        android:fromId="@id/on"
64        android:toId="@id/off">
65        <animation-list>
66            <item
67                android:drawable="@drawable/ws_switch_thumb_mtrl_14w"
68                android:duration="30" />
69            <item
70                android:drawable="@drawable/ws_switch_thumb_mtrl_15w"
71                android:duration="15" />
72            <item
73                android:drawable="@drawable/ws_switch_thumb_mtrl_16w"
74                android:duration="15" />
75            <item
76                android:drawable="@drawable/ws_switch_thumb_mtrl_17w"
77                android:duration="15" />
78            <item
79                android:drawable="@drawable/ws_switch_thumb_mtrl_18w"
80                android:duration="75" />
81            <item
82                android:drawable="@drawable/ws_switch_thumb_mtrl_17w"
83                android:duration="15" />
84            <item
85                android:drawable="@drawable/ws_switch_thumb_mtrl_16w"
86                android:duration="15" />
87            <item
88                android:drawable="@drawable/ws_switch_thumb_mtrl_15w"
89                android:duration="15" />
90            <item
91                android:drawable="@drawable/ws_switch_thumb_mtrl_14w"
92                android:duration="30" />
93        </animation-list>
94    </transition>
95</animated-selector>
96