diff options
author | Brian Attwell <brianattwell@google.com> | 2014-08-20 13:06:02 -0700 |
---|---|---|
committer | Brian Attwell <brianattwell@google.com> | 2014-08-20 13:16:52 -0700 |
commit | 763006167fd6906d18728adc82c81aa51d8d581a (patch) | |
tree | 7420c8f6eae53c192f9006a9179c58595624527c /res/values | |
parent | bfa9442453c1d86e11e56702f9b8ef0e8e0da0b1 (diff) | |
download | android_packages_apps_Contacts-763006167fd6906d18728adc82c81aa51d8d581a.tar.gz android_packages_apps_Contacts-763006167fd6906d18728adc82c81aa51d8d581a.tar.bz2 android_packages_apps_Contacts-763006167fd6906d18728adc82c81aa51d8d581a.zip |
Set colorControlActivated=colorPrimary
This affects the color of all controls once activated. For example: checked
checkboxes, selected radio buttons and focused EditTexts.
The new activited control color doesn't look good inside the
ContactSelectionActivity's SearchView. Therefore, I setup a custom theme for
this view.
Bug: 17139811
Change-Id: I7fe6969bbb2a6c3c0feb40e4caf45c81edf0c14d
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/styles.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/res/values/styles.xml b/res/values/styles.xml index 8ff6469b7..fc2df8cfc 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -66,6 +66,7 @@ <item name="android:windowBackground">@color/background_primary</item> <item name="android:colorPrimaryDark">@color/primary_color_dark</item> <item name="android:colorPrimary">@color/primary_color</item> + <item name="android:colorControlActivated">@color/primary_color</item> <item name="list_item_height">?android:attr/listPreferredItemHeight</item> <item name="activated_background">@drawable/list_item_activated_background</item> <item name="section_header_background">@drawable/list_title_holo</item> @@ -128,6 +129,13 @@ <item name="android:displayOptions"></item> </style> + <style name="ContactPickerSearchTheme" parent="@style/PeopleTheme"> + <item name="android:textColorPrimary">@android:color/white</item> + <item name="android:textColorHint">?android:textColorHintInverse</item> + <item name="android:colorControlActivated">?android:textColorHintInverse</item> + <item name="android:colorControlNormal">@android:color/white</item> + </style> + <!-- Text in the action bar at the top of the screen --> <style name="ContactsActionBarTitleText" parent="@android:style/TextAppearance.Material.Widget.ActionBar.Title"> |