summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--res/color/single_button_panel_color.xml20
-rwxr-xr-xres/layout/single_button_panel.xml2
2 files changed, 21 insertions, 1 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>
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"