From e972b16c4b3a1f4fc73966461ab45915b4aa2c6e Mon Sep 17 00:00:00 2001 From: lindatseng Date: Fri, 19 Apr 2019 15:40:20 -0700 Subject: [PATCH] Make panel support dark mode Slightly adjust Panel related theme/styles to support dark mode. Screenshot: Wifi Panel: https://screenshot.googleplex.com/5FJ1wwMjgrn.png NFC Panel: https://screenshot.googleplex.com/AhNJhEMXCS7.png Volume Panel: https://screenshot.googleplex.com/iyOxAz9NJPv.png Connectivity Panel: https://screenshot.googleplex.com/pvExHZVNW7m.png Test: Visual/Manual verification Fixes: 130815366 Change-Id: Ic96898091c52ccebf4437d96099ad553884d1eb4 --- AndroidManifest.xml | 2 +- res/layout/panel_layout.xml | 2 +- res/values/themes.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 8fd07691aab..5149b9c25f2 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -3097,7 +3097,7 @@ diff --git a/res/layout/panel_layout.xml b/res/layout/panel_layout.xml index c697afc56f8..abe8f416ba1 100644 --- a/res/layout/panel_layout.xml +++ b/res/layout/panel_layout.xml @@ -34,7 +34,7 @@ android:gravity="center" android:paddingBottom="24dp" android:paddingTop="18dp" - android:textColor="?android:attr/colorPrimary" + android:textColor="?android:attr/textColorPrimary" android:textSize="20sp"/> diff --git a/res/values/themes.xml b/res/values/themes.xml index d29d78bb80b..8268ce18fad 100644 --- a/res/values/themes.xml +++ b/res/values/themes.xml @@ -203,7 +203,7 @@ -