From e22d7c2b358d9c0f362627d3194b051719f2ba5c Mon Sep 17 00:00:00 2001 From: Maurice Lam Date: Fri, 15 Dec 2017 17:03:23 -0800 Subject: [PATCH] Change accent color in GLIF V3 Change the accent color to Google Blue 600 for better contrast. The button color change in ag/3301076 was mostly reverted because the color will be automatically picked up from the updated accent color. Test: Manual, Existing tests pass Bug: 69930196 Change-Id: I2fad5b029357afec9402ef8de5810fa0e092a713 --- library/gingerbread/res/values/styles.xml | 17 +++-- .../items/ButtonItemDrawingTest.java | 65 ++++++++++++------- .../color-v23/suw_flat_button_highlight.xml | 2 +- library/main/res/values/attrs.xml | 1 - library/main/res/values/colors.xml | 4 +- library/main/res/values/styles.xml | 12 +--- library/platform/res/values-v23/styles.xml | 12 ++-- 7 files changed, 64 insertions(+), 49 deletions(-) diff --git a/library/gingerbread/res/values/styles.xml b/library/gingerbread/res/values/styles.xml index 1653938..6cdbe3c 100644 --- a/library/gingerbread/res/values/styles.xml +++ b/library/gingerbread/res/values/styles.xml @@ -39,7 +39,6 @@ @style/SuwFillContentLayout ?attr/suwMarginSides ?attr/suwMarginSides - ?attr/colorAccent @drawable/suw_card_bg_dark 0dp @dimen/suw_items_icon_divider_inset @@ -72,7 +71,6 @@ @style/SuwFillContentLayout ?attr/suwMarginSides ?attr/suwMarginSides - ?attr/colorAccent @drawable/suw_card_bg_light 0dp @dimen/suw_items_icon_divider_inset @@ -105,7 +103,6 @@ @color/suw_color_accent_glif_dark ?attr/suwMarginSides ?attr/suwMarginSides - ?attr/colorAccent ?attr/colorPrimary @style/SuwFillContentLayout 0dp @@ -141,7 +138,6 @@ @color/suw_color_accent_glif_light ?attr/suwMarginSides ?attr/suwMarginSides - ?attr/colorAccent ?attr/colorPrimary @style/SuwFillContentLayout 0dp @@ -157,6 +153,14 @@ @style/TextAppearance.SuwGlifItemSummary + + + + @@ -45,18 +45,10 @@ ?attr/suwMarginSides center_horizontal top|bottom - @color/suw_glif_edittext_bg_light_color + @color/suw_glif_edit_text_bg_light_color @style/SuwEditText - - - - + + + +