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:fillColor="@color/bluetooth_disabled_device_icon_color" 45 android:pathData="M21.19,21.19L14,14l-2,-2 -9.2,-9.2 -1.41,1.42 8.79,8.79c-0.06,0 -0.12,-0.01 -0.18,-0.01 -2.21,0 -4,1.79 -4,4s1.79,4 4.01,4S14,19.21 14,17v-0.17l5.78,5.78 1.41,-1.42zM14,11.17V7h4V3h-6v6.17z"/> 46 </vector> 47 </item> 48</layer-list>