packages/apps/Car/Settings/res/drawable/ic_top_level_display.xml

40 lines
1.7 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>
<com.android.car.settings.common.TopLevelIconShapeDrawable
android:width="@dimen/icon_size"
android:height="@dimen/icon_size"
android:tint="@color/top_level_display_background"/>
</item>
<item
android:start="@dimen/top_level_foreground_icon_inset"
android:top="@dimen/top_level_foreground_icon_inset"
android:end="@dimen/top_level_foreground_icon_inset"
android:bottom="@dimen/top_level_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/top_level_display_icon"
android:pathData="M20,15.31L23.31,12 20,8.69V4h-4.69L12,0.69 8.69,4H4v4.69L0.69,12 4,15.31V20h4.69L12,23.31 15.31,20H20v-4.69zM12,18V6c3.31,0 6,2.69 6,6s-2.69,6 -6,6z"/>
</vector>
</item>
</layer-list>