Settings: Apply expressive design to evolver icon

Signed-off-by: AnierinB <anierin@evolution-x.org>
This commit is contained in:
AnierinB
2025-06-28 04:06:43 +00:00
committed by Joey
parent c58e620ddf
commit fd81964ba3
4 changed files with 23 additions and 3 deletions

View File

@@ -18,5 +18,5 @@
android:height="@dimen/dashboard_tile_foreground_image_size"
android:start="@dimen/dashboard_tile_foreground_image_inset"
android:top="@dimen/dashboard_tile_foreground_image_inset"
android:drawable="@drawable/ic_settings_evolution" />
android:drawable="@drawable/ic_settings_evolver_expressive" />
</layer-list>

View File

@@ -0,0 +1,19 @@
<!--
Copyright (C) 2025 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.
-->
<com.android.settings.widget.TintDrawable
xmlns:android="http://schemas.android.com/apk/res/android"
android:drawable="@drawable/ic_settings_evolution_filled"
android:tint="@color/homepage_evolution_foreground" />

View File

@@ -52,6 +52,8 @@
<color name="shortcut_background">#fff5f5f5</color>
<!-- Dashboard/homepage icon colors -->
<color name="homepage_evolution_foreground">@color/homepage_blue_variant_fg</color>
<color name="homepage_evolution_background">@color/homepage_blue_variant_bg</color>
<color name="homepage_network_foreground">@color/homepage_blue_variant_fg</color>
<color name="homepage_network_background">@color/homepage_blue_variant_bg</color>
<color name="homepage_connected_device_foreground">@color/homepage_blue_variant_fg</color>
@@ -93,7 +95,6 @@
<color name="homepage_support_foreground">@color/homepage_purple_fg</color>
<color name="homepage_support_background">@color/homepage_purple_bg</color>
<color name="homepage_generic_icon_background">#1A73E8</color>
<color name="homepage_evolution_background">#0060FF</color>
<color name="homepage_blue_variant_fg">@color/m3_ref_palette_blue_variant30</color>
<color name="homepage_blue_variant_bg">@color/m3_ref_palette_blue_variant90</color>

View File

@@ -32,7 +32,7 @@
android:layout="@layout/settingslib_preference_category_no_title">
<com.android.settings.widget.HomepagePreference
android:fragment="org.evolution.settings.EvolutionSettings"
android:icon="@drawable/ic_settings_evolution_filled"
android:icon="@drawable/ic_homepage_evolution"
android:key="top_level_evolver"
android:order="-160"
android:title="@string/evolver_dashboard_title"