feat: SettingsLib验证通过-使用App module启用
This commit is contained in:
43
CarSettings/res/drawable/ic_top_level_notifications.xml
Normal file
43
CarSettings/res/drawable/ic_top_level_notifications.xml
Normal file
@@ -0,0 +1,43 @@
|
||||
<?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_notifications_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_notifications_icon"
|
||||
android:pathData="M18 17v-6c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.64 5.36 6 7.92 6 11v6H4v2h16v-2h-2zm-2 0H8v-6c0-2.48 1.51-4.5 4-4.5s4 2.02 4 4.5v6zm-4 5c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2z"/>
|
||||
<path
|
||||
android:fillColor="@color/top_level_notifications_icon"
|
||||
android:pathData="M12,22c1.1,0 2,-0.9 2,-2h-4C10,21.1 10.9,22 12,22z"/>
|
||||
</vector>
|
||||
</item>
|
||||
</layer-list>
|
||||
Reference in New Issue
Block a user