Android14Settings/CarSettings/res/drawable/ic_bluetooth_button.xml

51 lines
2.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2021 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@android:id/background"
android:width="@dimen/bluetooth_bonded_device_button_size"
android:height="@dimen/bluetooth_bonded_device_button_size">
<shape android:shape="rectangle">
<solid android:color="@color/bluetooth_bonded_device_background" />
<corners android:radius="@dimen/bluetooth_bonded_device_button_radius" />
</shape>
</item>
<item android:width="@dimen/bluetooth_bonded_device_button_size"
android:height="@dimen/bluetooth_bonded_device_button_size"
android:drawable="@drawable/bluetooth_bonded_device_rotary_background"/>
<item
android:start="@dimen/bluetooth_bonded_device_foreground_icon_inset"
android:top="@dimen/bluetooth_bonded_device_foreground_icon_inset"
android:end="@dimen/bluetooth_bonded_device_foreground_icon_inset"
android:bottom="@dimen/bluetooth_bonded_device_foreground_icon_inset">
<vector
android:width="@dimen/icon_size"
android:height="@dimen/icon_size"
android:viewportHeight="24.0"
android:viewportWidth="24.0">
<path
android:fillColor="@color/bluetooth_bonded_device_foreground"
android:pathData="M17.71,7.71L12,2h-1v7.59L6.41,5 5,6.41 10.59,12 5,17.59 6.41,19 11,14.41L11,22h1l5.71,-5.71 -4.3,-4.29 4.3,-4.29zM13,5.83l1.88,1.88L13,9.59L13,5.83zM14.88,16.29L13,18.17v-3.76l1.88,1.88z"/>
<path
android:fillColor="@color/bluetooth_bonded_device_foreground"
android:pathData="M5,12m-1.5,0a1.5,1.5 0,1 1,3 0a1.5,1.5 0,1 1,-3 0"/>
<path
android:fillColor="@color/bluetooth_bonded_device_foreground"
android:pathData="M19,12m-1.5,0a1.5,1.5 0,1 1,3 0a1.5,1.5 0,1 1,-3 0"/>
</vector>
</item>
</layer-list>