feat: SettingsLib验证通过-使用App module启用
This commit is contained in:
40
CarSettings/res/drawable/ic_top_level_applications.xml
Normal file
40
CarSettings/res/drawable/ic_top_level_applications.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_applications_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_applications_icon"
|
||||
android:pathData="M6,8c1.1,0 2,-0.9 2,-2S7.1,4 6,4S4,4.9 4,6S4.9,8 6,8zM12,20c1.1,0 2,-0.9 2,-2s-0.9,-2 -2,-2s-2,0.9 -2,2S10.9,20 12,20zM6,20c1.1,0 2,-0.9 2,-2s-0.9,-2 -2,-2s-2,0.9 -2,2S4.9,20 6,20zM6,14c1.1,0 2,-0.9 2,-2s-0.9,-2 -2,-2s-2,0.9 -2,2S4.9,14 6,14zM12,14c1.1,0 2,-0.9 2,-2s-0.9,-2 -2,-2s-2,0.9 -2,2S10.9,14 12,14zM16,6c0,1.1 0.9,2 2,2s2,-0.9 2,-2s-0.9,-2 -2,-2S16,4.9 16,6zM12,8c1.1,0 2,-0.9 2,-2s-0.9,-2 -2,-2s-2,0.9 -2,2S10.9,8 12,8zM18,14c1.1,0 2,-0.9 2,-2s-0.9,-2 -2,-2s-2,0.9 -2,2S16.9,14 18,14zM18,20c1.1,0 2,-0.9 2,-2s-0.9,-2 -2,-2s-2,0.9 -2,2S16.9,20 18,20z"/>
|
||||
</vector>
|
||||
</item>
|
||||
</layer-list>
|
||||
Reference in New Issue
Block a user