From 2ba1ab222295bc66fc7c1e98a4dd6ae83277d2e0 Mon Sep 17 00:00:00 2001 From: Sunny Shao Date: Fri, 23 Apr 2021 13:32:52 +0800 Subject: [PATCH] Fix background inconsistency of the font size page in SUW - Apply to SUW provided theme. - Use isSetupWizardDayNightEnabled to decide which device's SUW supports dark mode. Fixes: 184901818 Bug: 186076332 Test: manual test Change-Id: I44c5f8ee19dac58dea7f5543840659c08aad4a39 --- res/drawable/preview_seek_bar_outline.xml | 4 ++-- res/values-night/themes_suw.xml | 3 +++ res/values/themes.xml | 14 -------------- res/values/themes_suw.xml | 3 +++ .../settings/core/SettingsBaseActivity.java | 6 +++++- 5 files changed, 13 insertions(+), 17 deletions(-) diff --git a/res/drawable/preview_seek_bar_outline.xml b/res/drawable/preview_seek_bar_outline.xml index ef8b8c72ed2..e626e37e700 100644 --- a/res/drawable/preview_seek_bar_outline.xml +++ b/res/drawable/preview_seek_bar_outline.xml @@ -24,7 +24,7 @@ android:shape="rectangle" > + android:color="?android:attr/colorBackground" /> + android:color="?android:attr/colorBackground" /> diff --git a/res/values-night/themes_suw.xml b/res/values-night/themes_suw.xml index dea7b1a5f78..ee0dd67939b 100644 --- a/res/values-night/themes_suw.xml +++ b/res/values-night/themes_suw.xml @@ -17,6 +17,9 @@ + + - - + +