summaryrefslogtreecommitdiffstats
path: root/res/layout
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/layout
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/layout')
-rwxr-xr-xres/layout/single_button_panel.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/layout/single_button_panel.xml b/res/layout/single_button_panel.xml
index 324a2f6..b01046c 100755
--- a/res/layout/single_button_panel.xml
+++ b/res/layout/single_button_panel.xml
@@ -34,7 +34,7 @@
android:layout_weight="0.4"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
- android:backgroundTint="?android:attr/colorAccent"
+ android:backgroundTint="@color/single_button_panel_color"
android:textColor="@color/text_color_white" />
<Space
android:layout_width="0dip"