summaryrefslogtreecommitdiffstats
path: root/res/color
diff options
context:
space:
mode:
authorNicholas Chum <nicholaschum@gmail.com>2015-12-04 21:31:26 -0800
committerGerrit Code Review <gerrit@cyanogenmod.org>2015-12-29 12:28:30 -0800
commitf1d64bf3372b4f5ac7fd38e6778a23b7cb2c400f (patch)
tree0ce8aeb434652dd0811dd5bbe1bd4fd1fa1f7aee /res/color
parent2c63abcd1c8667f3d706fa3792b0f4242bd90f47 (diff)
downloadpackages_apps_Settings-f1d64bf3372b4f5ac7fd38e6778a23b7cb2c400f.zip
packages_apps_Settings-f1d64bf3372b4f5ac7fd38e6778a23b7cb2c400f.tar.gz
packages_apps_Settings-f1d64bf3372b4f5ac7fd38e6778a23b7cb2c400f.tar.bz2
Settings: Expose backgroundTint from Single Button Panel
This exposes the hardcoded backgroundTint call to ?android:attr/colorAccent, and allow the themer to completely replace the color. Credits go to @Morningstar for locating the file! Change-Id: I7d76177fad123173131aecf0d19554825af303a0
Diffstat (limited to 'res/color')
-rw-r--r--res/color/single_button_panel_color.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/res/color/single_button_panel_color.xml b/res/color/single_button_panel_color.xml
new file mode 100644
index 0000000..44e026d
--- /dev/null
+++ b/res/color/single_button_panel_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/colorAccent" />
+</selector>