diff options
| author | 2016-03-09 13:53:11 -0800 | |
|---|---|---|
| committer | 2016-03-09 13:53:11 -0800 | |
| commit | caab4c2b1d03feeead0e28621d2add9a138e86a2 (patch) | |
| tree | f0da13dc9217047ba745aaa441b0e926c0fce82a | |
| parent | 37b3a4a5440f489f65941b8182b33c34f86ffc1d (diff) | |
Replace hard coded color with equivalent theme value.
Bug: 27570976
Change-Id: I99f592015291a804ca1dc5539842e37ded95fab3
| -rw-r--r-- | core/res/res/values/styles_material.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/res/res/values/styles_material.xml b/core/res/res/values/styles_material.xml index a65a813da84b..e636bc09d2bd 100644 --- a/core/res/res/values/styles_material.xml +++ b/core/res/res/values/styles_material.xml @@ -993,7 +993,7 @@ please see styles_device_defaults.xml. </style> <style name="Widget.Material.SuggestionItem" parent="@android:style/TextAppearance.Material.Body1"> - <item name="textColor">#8a000000</item> <!-- alpha=.54, textColor=@color/black --> + <item name="textColor">?attr/textColorSecondary</item> <item name="drawablePadding">8dip</item> <item name="gravity">start|center_vertical</item> <item name="layout_gravity">start|center_vertical</item> @@ -1008,11 +1008,11 @@ please see styles_device_defaults.xml. </style> <style name="TextAppearance.Material.TextSuggestionHighlight" parent="Widget.Material.SuggestionItem"> - <item name="textColor">#de000000</item> <!-- alpha=.87, textColor=@color/black --> + <item name="textColor">?attr/textColorPrimary</item> </style> <style name="Widget.Material.SuggestionButton" parent="@android:style/TextAppearance.Material.Button"> - <item name="textColor">#de009688</item> <!-- alpha=.87, textColor=#009688 --> + <item name="textColor">?attr/colorAccent</item> <item name="drawablePadding">8dip</item> <item name="gravity">start|center_vertical</item> <item name="layout_gravity">start|center_vertical</item> |