android13/packages/apps/Car/SystemUI/res/drawable/hvac_decrease_button.xml

53 lines
2.2 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<!--
~ Copyright (C) 2020 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"
xmlns:aapt="http://schemas.android.com/aapt">
<item android:gravity="center"
android:width="@dimen/system_bar_icon_drawing_size"
android:height="@dimen/system_bar_icon_drawing_size">
<aapt:attr name="android:drawable">
<shape android:shape="oval">
<size
android:width="@dimen/system_bar_icon_drawing_size"
android:height="@dimen/system_bar_icon_drawing_size"/>
<solid
android:color="@color/hvac_temperature_adjust_button_color"/>
</shape>
</aapt:attr>
</item>
<item android:gravity="center"
android:width="@dimen/system_bar_icon_drawing_size"
android:height="@dimen/system_bar_icon_drawing_size">
<aapt:attr name="android:drawable">
<vector android:width="@dimen/system_bar_icon_drawing_size"
android:height="@dimen/system_bar_icon_drawing_size"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="@color/hvac_temperature_decrease_arrow_color"
android:pathData="M14,7l-5,5 5,5V7z"/>
</vector>
</aapt:attr>
</item>
<item>
<aapt:attr name="android:drawable">
<ripple android:color="?android:attr/colorControlHighlight"/>
</aapt:attr>
</item>
</layer-list>