summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Lin <danny@kdrag0n.dev>2021-10-09 10:05:38 -0700
committeralk3pInjection <webmaster@raspii.tech>2022-03-03 13:57:18 +0800
commit8f65280a5eb74dbb79851dbfec93600e577115e9 (patch)
treea0f664c073b2e4af6844ea83dd5cdbb4c746d803
parentf71d7c9f9e6cec68d0194f8ca4882caaaeedbfc1 (diff)
overlay: core: Use accent color for progress bar background
This matches the stock Pixel style and makes progress bars look more integrated, since the active (foreground) part is using the accent color. Change-Id: Ia7f77c13d166c0b28c08ad71231d673195696460
-rw-r--r--overlay/ICEFrameworksOverlay/res/color/config_progress_background_tint.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/overlay/ICEFrameworksOverlay/res/color/config_progress_background_tint.xml b/overlay/ICEFrameworksOverlay/res/color/config_progress_background_tint.xml
new file mode 100644
index 0000000..174cc94
--- /dev/null
+++ b/overlay/ICEFrameworksOverlay/res/color/config_progress_background_tint.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2018 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:attr/colorControlActivated" />
+</selector>