[Expressive design] Add Slider's halo as a separate resource

Bug: 409389527
Test: visual
Flag: EXEMPT resource update
Change-Id: I9e997ccc19ef112744fff480ab231a067170dc2b
This commit is contained in:
Stefan Maftei
2025-08-26 12:57:08 +03:00
committed by Ghosuto
parent 328c575818
commit afe30aed6a
2 changed files with 21 additions and 1 deletions

View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
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.
-->
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:color="@android:color/transparent" />
</selector>

View File

@@ -163,6 +163,6 @@
<item name="thumbColor">@color/settingslib_expressive_color_slider_thumb</item>
<item name="tickColorActive">@color/settingslib_expressive_color_slider_track_inactive</item>
<item name="tickColorInactive">@color/settingslib_expressive_color_slider_track_active</item>
<item name="haloColor">@android:color/transparent</item>
<item name="haloColor">@color/settingslib_expressive_color_slider_halo</item>
</style>
</resources>