feat: SettingsLib验证通过-使用App module启用
This commit is contained in:
40
CarSettings/res/drawable/ic_top_level_sound.xml
Normal file
40
CarSettings/res/drawable/ic_top_level_sound.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_sound_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_sound_icon"
|
||||
android:pathData="M3 9v6h4l5 5V4L7 9H3zm7-.17v6.34L7.83 13H5v-2h2.83L10 8.83zM16.5 12c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77 0-4.28-2.99-7.86-7-8.77z"/>
|
||||
</vector>
|
||||
</item>
|
||||
</layer-list>
|
||||
Reference in New Issue
Block a user