From f1d64bf3372b4f5ac7fd38e6778a23b7cb2c400f Mon Sep 17 00:00:00 2001 From: Nicholas Chum Date: Fri, 4 Dec 2015 21:31:26 -0800 Subject: 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 --- res/color/single_button_panel_color.xml | 20 ++++++++++++++++++++ res/layout/single_button_panel.xml | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 res/color/single_button_panel_color.xml (limited to 'res') 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 @@ + + + + + + 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" />