1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2015 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
17<animated-selector xmlns:android="http://schemas.android.com/apk/res/android">
18    <item android:state_enabled="false">
19        <shape
20            android:shape="ring"
21            android:innerRadius="2dp"
22            android:thickness="2dp"
23            android:useLevel="false"
24            android:tint="?attr/colorControlNormal"
25            android:opticalInsetLeft="3dp"
26            android:opticalInsetRight="3dp">
27            <solid
28                android:color="@color/white" />
29            <size
30                android:width="18dp"
31                android:height="18dp" />
32        </shape>
33    </item>
34    <item
35        android:id="@+id/pressed"
36        android:state_pressed="true"
37        android:drawable="@drawable/seekbar_thumb_pressed_to_unpressed" />
38    <item
39        android:id="@+id/unpressed"
40        android:drawable="@drawable/seekbar_thumb_unpressed_to_pressed" />
41    <transition
42        android:fromId="@+id/unpressed"
43        android:toId="@+id/pressed"
44        android:drawable="@drawable/seekbar_thumb_unpressed_to_pressed_animation" />
45    <transition
46        android:fromId="@+id/pressed"
47        android:toId="@+id/unpressed"
48        android:drawable="@drawable/seekbar_thumb_pressed_to_unpressed_animation" />
49</animated-selector>
50