summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author93Akkord <michaelcbarros@gmail.com>2015-03-02 19:26:18 -0800
committerGerrit Code Review <gerrit@cyanogenmod.org>2015-03-07 12:37:23 +0000
commit898ee9c8298e4a9a66d942ca33d068840fb2dc92 (patch)
tree258e9f1185272518f12281f18a0bc634d6f4d254
parent9c174b60f5b8a2483ecd26159f29a6ab8ce9bfc7 (diff)
downloadandroid_packages_apps_ContactsCommon-898ee9c8298e4a9a66d942ca33d068840fb2dc92.tar.gz
android_packages_apps_ContactsCommon-898ee9c8298e4a9a66d942ca33d068840fb2dc92.tar.bz2
android_packages_apps_ContactsCommon-898ee9c8298e4a9a66d942ca33d068840fb2dc92.zip
Exposed hard coded text colors for starred/group tiles.
Change-Id: I145d66592f27333150b4e670fc1e1efd7c28d22c Signed-off-by: 93Akkord <michaelcbarros@gmail.com>
-rw-r--r--res/layout/contact_tile_frequent.xml2
-rw-r--r--res/layout/contact_tile_starred.xml2
-rwxr-xr-xres/values/cm_colors.xml20
3 files changed, 22 insertions, 2 deletions
diff --git a/res/layout/contact_tile_frequent.xml b/res/layout/contact_tile_frequent.xml
index b1e83ce0..8c718fb2 100644
--- a/res/layout/contact_tile_frequent.xml
+++ b/res/layout/contact_tile_frequent.xml
@@ -38,7 +38,7 @@
android:id="@+id/contact_tile_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:textColor="@android:color/black"
+ android:textColor="@color/frequent_contact_text_color"
android:textSize="@dimen/contact_browser_list_item_text_size"
android:singleLine="true"
android:fadingEdge="horizontal"
diff --git a/res/layout/contact_tile_starred.xml b/res/layout/contact_tile_starred.xml
index 777cc058..88aa1e88 100644
--- a/res/layout/contact_tile_starred.xml
+++ b/res/layout/contact_tile_starred.xml
@@ -43,7 +43,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="7dp"
- android:textColor="#202020"
+ android:textColor="@color/contact_tile_text_color"
android:textSize="@dimen/contact_browser_list_item_text_size"
android:singleLine="true"
android:fadingEdge="horizontal"
diff --git a/res/values/cm_colors.xml b/res/values/cm_colors.xml
new file mode 100755
index 00000000..53e920ab
--- /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="contact_tile_text_color">#ff202020</color>
+ <color name="frequent_contact_text_color">#ff000000</color>
+</resources>