diff options
author | Nicholas Chum <nicholaschum@gmail.com> | 2015-12-10 16:42:57 -0800 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2015-12-29 12:27:29 -0800 |
commit | 2c63abcd1c8667f3d706fa3792b0f4242bd90f47 (patch) | |
tree | a26d6433f91b8081df2e7b79769595adc0be528f /res/color | |
parent | 87ab41314d6211151d39b2cdec3ba87826037515 (diff) | |
download | packages_apps_Settings-2c63abcd1c8667f3d706fa3792b0f4242bd90f47.zip packages_apps_Settings-2c63abcd1c8667f3d706fa3792b0f4242bd90f47.tar.gz packages_apps_Settings-2c63abcd1c8667f3d706fa3792b0f4242bd90f47.tar.bz2 |
Settings: Expose Fingerprint Enrollment Checkmark Tint to an XML
This patch is a different approach to getting the tint changed.
Changed from being a value into colors.xml to an XML file in
res/colors instead to combat XML inflation issues.
Tested on latest nightly, decompiled and recompiled. Stock theme
and Dark Material runs fine with the new values themed.
Change-Id: I1373d3d36555b44ad63515b4385d5f935a5a882f
Diffstat (limited to 'res/color')
-rw-r--r-- | res/color/fingerprint_checkmark_color.xml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/res/color/fingerprint_checkmark_color.xml b/res/color/fingerprint_checkmark_color.xml new file mode 100644 index 0000000..948222a --- /dev/null +++ b/res/color/fingerprint_checkmark_color.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2015 The CyanogenMod 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/textColorPrimary" /> +</selector> |