summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author93Akkord <michaelcbarros@gmail.com>2015-03-03 21:01:29 -0800
committerClark Scheff <clark@cyngn.com>2015-04-18 17:19:08 +0000
commitcc338e7f6aae61dca24779bebfb91d66d95c3357 (patch)
tree8fa40824453a849514e53cdf49146895439acfb8
parent3a61db808387b727405938fd68f07cc69fa00c51 (diff)
downloadpackages_apps_Contacts-stable/cm-12.0-YNG1TA.tar.gz
packages_apps_Contacts-stable/cm-12.0-YNG1TA.tar.bz2
packages_apps_Contacts-stable/cm-12.0-YNG1TA.zip
Expose the editor account header background & contact list text colors.stable/cm-12.0-YNG1TA
Thanks Thyrus! Change-Id: Iaab43a5badab41712f15b981d4a16e11f946d2db Signed-off-by: 93Akkord <michaelcbarros@gmail.com> (cherry picked from commit e0bb86ec5014a07a87a35aa6c25abd13e4ace77a) (cherry picked from commit 8619dca005000c0cdd23a7c375d730a80fd41552)
-rwxr-xr-x[-rw-r--r--]res/layout/editor_account_header.xml2
-rwxr-xr-xres/layout/editor_account_header_with_dropdown.xml2
-rwxr-xr-xres/values/cm_colors.xml20
-rwxr-xr-x[-rw-r--r--]res/values/styles.xml1
4 files changed, 23 insertions, 2 deletions
diff --git a/res/layout/editor_account_header.xml b/res/layout/editor_account_header.xml
index 59ae3b126..a7d0c6252 100644..100755
--- a/res/layout/editor_account_header.xml
+++ b/res/layout/editor_account_header.xml
@@ -20,7 +20,7 @@
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:minHeight="48dip"
- android:background="#EEEEEE"
+ android:background="@color/editor_account_header_bg"
android:orientation="horizontal"
android:paddingTop="8dip"
android:paddingBottom="8dip"
diff --git a/res/layout/editor_account_header_with_dropdown.xml b/res/layout/editor_account_header_with_dropdown.xml
index db20bb88a..a2faf0a7f 100755
--- a/res/layout/editor_account_header_with_dropdown.xml
+++ b/res/layout/editor_account_header_with_dropdown.xml
@@ -20,7 +20,7 @@
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:minHeight="48dip"
- android:background="#EEEEEE"
+ android:background="@color/editor_account_header_bg"
android:orientation="horizontal"
android:gravity="center_vertical"
android:paddingLeft="@dimen/account_container_left_padding"
diff --git a/res/values/cm_colors.xml b/res/values/cm_colors.xml
new file mode 100755
index 000000000..eda423122
--- /dev/null
+++ b/res/values/cm_colors.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.
+-->
+<resources>
+ <color name="list_item_name_text_color">#ff000000</color>
+ <color name="editor_account_header_bg">#ffeeeeee</color>
+</resources>
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 28fed1196..151dc04ee 100644..100755
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -83,6 +83,7 @@
<item name="list_item_padding_bottom">
@dimen/contact_browser_list_item_padding_top_or_bottom
</item>
+ <item name="list_item_name_text_color">@color/list_item_name_text_color</item>
<item name="list_item_padding_left">16dip</item>
<item name="list_item_gap_between_image_and_text">
@dimen/contact_browser_list_item_gap_between_image_and_text