Android14Settings/CarSettings/res/drawable/ic_top_level_security.xml

40 lines
1.9 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_security_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="48.0"
android:viewportWidth="48.0">
<path
android:fillColor="@color/top_level_security_icon"
android:pathData="M36,16h-2v-4c0,-5.52 -4.48,-10 -10,-10S14,6.48 14,12v4h-2c-2.21,0 -4,1.79 -4,4v20c0,2.21 1.79,4 4,4h24c2.21,0 4,-1.79 4,-4L40,20c0,-2.21 -1.79,-4 -4,-4zM24,34c-2.21,0 -4,-1.79 -4,-4s1.79,-4 4,-4 4,1.79 4,4 -1.79,4 -4,4zM30.2,16L17.8,16v-4c0,-3.42 2.78,-6.2 6.2,-6.2 3.42,0 6.2,2.78 6.2,6.2v4z"/>
</vector>
</item>
</layer-list>