From 8afc10b3dfeb7c16892d671bd9465d53ccf281a3 Mon Sep 17 00:00:00 2001 From: lindatseng Date: Mon, 6 May 2019 16:24:08 -0700 Subject: [PATCH] Update SliceViewStyle background color Update android:background color in SliceViewStle to make it have correct color when Panel is in dark mode. Use the attr which will change depends on theme, rather than contextual card background which is defined by settings, to make it correct in more general case. Fixes: 131927006 Test: Manual Change-Id: I38733f5a53d38f70f925268efea7592bd0f48260 --- res/layout/contextual_slice_full_tile.xml | 2 +- res/values/styles.xml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/res/layout/contextual_slice_full_tile.xml b/res/layout/contextual_slice_full_tile.xml index 8b1ac58c145..b67b7775a03 100644 --- a/res/layout/contextual_slice_full_tile.xml +++ b/res/layout/contextual_slice_full_tile.xml @@ -29,7 +29,7 @@ 8dp @style/SliceRowStyle + ?android:attr/colorBackgroundFloating + + +