summaryrefslogtreecommitdiffstats
path: root/res/color
diff options
context:
space:
mode:
authorMaurice Lam <yukl@google.com>2015-07-09 17:16:35 -0700
committerMaurice Lam <yukl@google.com>2015-07-14 01:22:38 +0000
commit9fa8d9f24812a9862f64f1cffd9c5b99591062ce (patch)
treedfae4cbafe145e0589b355814a284406395b5553 /res/color
parent53dd1d4deea9968f1255018248ff0393252032dd (diff)
downloadpackages_apps_Settings-9fa8d9f24812a9862f64f1cffd9c5b99591062ce.zip
packages_apps_Settings-9fa8d9f24812a9862f64f1cffd9c5b99591062ce.tar.gz
packages_apps_Settings-9fa8d9f24812a9862f64f1cffd9c5b99591062ce.tar.bz2
[Fingerprint] Use accent color for fingerprint highlight
Set the fingerprint activated color, while registering a new fingerprint to be 50% alpha of the accent color. This allows the color to be changed with the theme, so that it will be highlighted blue during setup wizard. Bug: 21695577 Change-Id: Iee68506a4fbb8e8996bdb52694992ac460ae943d
Diffstat (limited to 'res/color')
-rw-r--r--res/color/fingerprint_indicator_background_activated.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/res/color/fingerprint_indicator_background_activated.xml b/res/color/fingerprint_indicator_background_activated.xml
new file mode 100644
index 0000000..32f5383
--- /dev/null
+++ b/res/color/fingerprint_indicator_background_activated.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2015 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:alpha="0.5" android:color="?android:attr/colorAccent" />
+</selector>