From 59d488a1363226c675b8adcb3fda614deaa16df8 Mon Sep 17 00:00:00 2001 From: Fan Zhang Date: Fri, 13 Jan 2017 11:25:31 -0800 Subject: [PATCH] Change default settings theme to light color. - Use standard light theme as parent for Theme.DeviceDefault.Settings. - Revert Theme.DeviceDefault.Settings.LightActionBar in favor of standard action bar theme Bug: 33558692 Test: visual Change-Id: I78542b716315e03060ab9157bc850f54cc316b00 --- .../res/res/values/colors_device_defaults.xml | 3 +++ core/res/res/values/colors_material.xml | 4 ++++ .../res/res/values/themes_device_defaults.xml | 20 +++---------------- core/res/res/values/themes_material.xml | 8 ++++---- .../res/layout/settings_with_drawer.xml | 2 +- 5 files changed, 15 insertions(+), 22 deletions(-) diff --git a/core/res/res/values/colors_device_defaults.xml b/core/res/res/values/colors_device_defaults.xml index 8f0350a887b96..e2498df71e45f 100644 --- a/core/res/res/values/colors_device_defaults.xml +++ b/core/res/res/values/colors_device_defaults.xml @@ -20,11 +20,14 @@ @color/primary_material_dark @color/primary_material_light @color/primary_material_settings + @color/primary_material_settings_light @color/primary_dark_material_dark @color/primary_dark_material_light @color/primary_dark_material_settings + @color/primary_dark_material_settings_light @color/secondary_material_settings + @color/secondary_material_settings_light @color/tertiary_material_settings @color/quaternary_material_settings diff --git a/core/res/res/values/colors_material.xml b/core/res/res/values/colors_material.xml index 835b8b60d2538..db89c22a6496f 100644 --- a/core/res/res/values/colors_material.xml +++ b/core/res/res/values/colors_material.xml @@ -27,12 +27,15 @@ @color/material_grey_900 @color/material_grey_100 @color/material_blue_grey_900 + @color/material_grey_100 @color/black @color/material_grey_600 @color/material_grey_300 @color/material_blue_grey_950 + @color/material_grey_300 @color/material_blue_grey_800 + @color/material_grey_200 @color/material_blue_grey_700 @color/material_blue_grey_200 @@ -88,6 +91,7 @@ #ff424242 #ff757575 #ffe0e0e0 + #ffeeeeee #fff5f5f5 #fffafafa diff --git a/core/res/res/values/themes_device_defaults.xml b/core/res/res/values/themes_device_defaults.xml index 6bd6e1c1ce4a3..5961cb041cd4a 100644 --- a/core/res/res/values/themes_device_defaults.xml +++ b/core/res/res/values/themes_device_defaults.xml @@ -736,20 +736,12 @@ easier. - - - - diff --git a/core/res/res/values/themes_material.xml b/core/res/res/values/themes_material.xml index d0f202ba76d09..3587fecb7b5d2 100644 --- a/core/res/res/values/themes_material.xml +++ b/core/res/res/values/themes_material.xml @@ -1323,10 +1323,10 @@ please see themes_device_defaults.xml. -