diff options
author | 93Akkord <michaelcbarros@gmail.com> | 2015-03-02 19:26:18 -0800 |
---|---|---|
committer | Clark Scheff <clark@cyngn.com> | 2015-04-16 18:06:31 +0000 |
commit | 10754df563ca8ad7fb8159ea5182919fc19f400e (patch) | |
tree | 77ffed1fbb42b1665b01e5bee132c937c4559cee | |
parent | d43698d6b1ccf84f76e4b241e38be16a355c7d70 (diff) | |
download | android_packages_apps_ContactsCommon-10754df563ca8ad7fb8159ea5182919fc19f400e.tar.gz android_packages_apps_ContactsCommon-10754df563ca8ad7fb8159ea5182919fc19f400e.tar.bz2 android_packages_apps_ContactsCommon-10754df563ca8ad7fb8159ea5182919fc19f400e.zip |
Exposed hard coded text colors for starred/group tiles.
Change-Id: I145d66592f27333150b4e670fc1e1efd7c28d22c
Signed-off-by: 93Akkord <michaelcbarros@gmail.com>
(cherry picked from commit 898ee9c8298e4a9a66d942ca33d068840fb2dc92)
-rw-r--r-- | res/layout/contact_tile_frequent.xml | 2 | ||||
-rw-r--r-- | res/layout/contact_tile_starred.xml | 2 | ||||
-rwxr-xr-x | res/values/cm_colors.xml | 20 |
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> |