From 440c3fc2785996004cdfc4b3c5ad88147ccb3ea6 Mon Sep 17 00:00:00 2001 From: mxyyiyi Date: Tue, 28 Nov 2023 15:51:44 +0800 Subject: [PATCH] Update Power Anomaly UI based on new visD spec. - update anomaly hint chip on app list. App battery usage: [dark] https://screenshot.googleplex.com/RoTWFon4ocoFe25 [light] https://screenshot.googleplex.com/3UtaxbVNkMtB4w2 Battery usage: [dark] https://screenshot.googleplex.com/6hAoxtuVp3dawQw [light] https://screenshot.googleplex.com/68NeFBymVc2D2Ab Bug: 309569299 Test: manual Change-Id: I6a2bc8192e7d9301f20913913e7b722a9c598e7c --- res/drawable/battery_hints_chip_bg.xml | 3 ++- res/layout/power_anomaly_hints.xml | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/res/drawable/battery_hints_chip_bg.xml b/res/drawable/battery_hints_chip_bg.xml index e7d1d0fd178..c2b662c2719 100644 --- a/res/drawable/battery_hints_chip_bg.xml +++ b/res/drawable/battery_hints_chip_bg.xml @@ -16,7 +16,8 @@ --> - + \ No newline at end of file diff --git a/res/layout/power_anomaly_hints.xml b/res/layout/power_anomaly_hints.xml index e4ec47b6473..3781046e626 100644 --- a/res/layout/power_anomaly_hints.xml +++ b/res/layout/power_anomaly_hints.xml @@ -17,6 +17,7 @@ + android:textAppearance="@style/TextAppearance.MaterialComponents.Subtitle2" + android:textColor="?androidprv:attr/materialColorOnSurface"/> \ No newline at end of file