From 6cb5348db5f763c8a3d0fccbd8c2a74679a9bc3e Mon Sep 17 00:00:00 2001 From: Lucas Dupin Date: Mon, 30 Nov 2020 20:19:56 -0800 Subject: 5/N The road to Material NEXT (background color) Properly hook up background color to device default theme Bug: 173561906 Test: manual Change-Id: Id4a6b4d74d289d4ff0bffca7dd5d7c55126b67ab --- core/res/res/values-night/values.xml | 8 +------- core/res/res/values/themes_device_defaults.xml | 7 ++++--- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/core/res/res/values-night/values.xml b/core/res/res/values-night/values.xml index 4e6b712f1f5d..952cdd08451c 100644 --- a/core/res/res/values-night/values.xml +++ b/core/res/res/values-night/values.xml @@ -25,18 +25,12 @@ ?attr/textColorPrimary @style/Theme.DeviceDefault.Dialog.Alert false - - - @color/black - - - @color/material_grey_800 \ No newline at end of file diff --git a/core/res/res/values/themes_device_defaults.xml b/core/res/res/values/themes_device_defaults.xml index 1afaf4f7f184..c0731c82bff3 100644 --- a/core/res/res/values/themes_device_defaults.xml +++ b/core/res/res/values/themes_device_defaults.xml @@ -215,8 +215,10 @@ easier. @color/primary_dark_device_default_dark @color/accent_device_default_dark @color/error_color_device_default_dark + @color/background_device_default_dark @color/background_floating_device_default_dark ?attr/colorBackgroundFloating + ?attr/colorBackgroundFloating @style/Widget.DeviceDefault.Toolbar - - - @color/primary_material_light