feat: SettingsLib验证通过-使用App module启用
This commit is contained in:
40
CarSettings/res/drawable/ic_top_level_display.xml
Normal file
40
CarSettings/res/drawable/ic_top_level_display.xml
Normal file
@@ -0,0 +1,40 @@
|
||||
<?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 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12 20 8.69zm-2 5.79V18h-3.52L12 20.48 9.52 18H6v-3.52L3.52 12 6 9.52V6h3.52L12 3.52 14.48 6H18v3.52L20.48 12 18 14.48zM12 9c1.65 0 3 1.35 3 3s-1.35 3-3 3-3-1.35-3-3 1.35-3 3-3m0-2c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5z"/>
|
||||
</vector>
|
||||
</item>
|
||||
</layer-list>
|
||||
Reference in New Issue
Block a user