1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2021 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<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
19    <item android:id="@android:id/background"
20          android:width="@dimen/bluetooth_bonded_device_button_size"
21          android:height="@dimen/bluetooth_bonded_device_button_size">
22        <shape android:shape="rectangle">
23            <corners android:radius="@dimen/bluetooth_bonded_device_button_radius"/>
24            <solid android:color="@color/bluetooth_disabled_device_background_color"/>
25            <stroke android:width="@dimen/bluetooth_bonded_device_border_width"
26                    android:alpha="?android:attr/disabledAlpha"
27                    android:color="@color/bluetooth_disabled_device_icon_color"/>
28        </shape>
29    </item>
30    <item android:width="@dimen/bluetooth_bonded_device_button_size"
31          android:height="@dimen/bluetooth_bonded_device_button_size"
32          android:drawable="@drawable/bluetooth_bonded_device_rotary_background"/>
33    <item
34        android:start="@dimen/bluetooth_bonded_device_foreground_icon_inset"
35        android:top="@dimen/bluetooth_bonded_device_foreground_icon_inset"
36        android:end="@dimen/bluetooth_bonded_device_foreground_icon_inset"
37        android:bottom="@dimen/bluetooth_bonded_device_foreground_icon_inset">
38        <vector
39            android:width="@dimen/icon_size"
40            android:height="@dimen/icon_size"
41            android:viewportHeight="24.0"
42            android:viewportWidth="24.0">
43            <path
44                android:alpha="?android:attr/disabledAlpha"
45                android:fillColor="@color/bluetooth_disabled_device_icon_color"
46                android:pathData="M14.22,17.05c-0.69,0.55 -1.41,1.05 -2.18,1.49 -2.38,1.39 -5.1,2.26 -8.01,2.43 -0.56,0.03 -1.03,-0.44 -1.03,-1v-4.15c0,-0.48 0.34,-0.89 0.8,-0.98l3.26,-0.65c0.33,-0.07 0.67,0.04 0.9,0.27l2.62,2.62c0.78,-0.42 1.52,-0.91 2.22,-1.45L1.39,4.22l1.42,-1.41L21.19,21.2l-1.41,1.41 -5.56,-5.56zM15.62,12.82c0.55,-0.7 1.04,-1.45 1.47,-2.24l-2.62,-2.62c-0.24,-0.24 -0.34,-0.58 -0.27,-0.9l0.65,-3.26c0.09,-0.46 0.5,-0.8 0.98,-0.8h4.15c0.56,0 1.03,0.47 1,1.03 -0.17,2.91 -1.04,5.63 -2.43,8.01 -0.45,0.77 -0.96,1.51 -1.51,2.2l-1.42,-1.42z"/>
47        </vector>
48    </item>
49</layer-list>