From 9fa8d9f24812a9862f64f1cffd9c5b99591062ce Mon Sep 17 00:00:00 2001 From: Maurice Lam Date: Thu, 9 Jul 2015 17:16:35 -0700 Subject: [PATCH] [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 --- ...erprint_indicator_background_activated.xml | 20 +++++++++++++++++++ res/values/colors.xml | 1 - 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 res/color/fingerprint_indicator_background_activated.xml diff --git a/res/color/fingerprint_indicator_background_activated.xml b/res/color/fingerprint_indicator_background_activated.xml new file mode 100644 index 00000000000..32f5383676b --- /dev/null +++ b/res/color/fingerprint_indicator_background_activated.xml @@ -0,0 +1,20 @@ + + + + + + diff --git a/res/values/colors.xml b/res/values/colors.xml index 03959898b35..f3fea105b1e 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -67,7 +67,6 @@ ?android:attr/colorAccent #20000000 #12000000 - #80009688 #ff384248 #ff009587