From 3f98b5fb78c6867375c724b204ca4350067fbaf4 Mon Sep 17 00:00:00 2001 From: "Wesley.CW Wang" Date: Tue, 4 May 2021 18:11:57 +0800 Subject: [PATCH] Update battery help message layout - Screenshot: https://screenshot.googleplex.com/6mdCCHYZBMNMdMG.png Bug: 179237551 Test: make SettingsRoboTests Change-Id: Ie9bf2798ad733744c30278e98a75dd6c34c1a407 --- color-check-baseline.xml | 16 ++++++++++ res/layout/preference_battery_error.xml | 42 +++++++++++++------------ res/values/colors.xml | 2 ++ 3 files changed, 40 insertions(+), 20 deletions(-) diff --git a/color-check-baseline.xml b/color-check-baseline.xml index 800d95b8632..0c61a476b93 100644 --- a/color-check-baseline.xml +++ b/color-check-baseline.xml @@ -4205,4 +4205,20 @@ column="5"/> + + + + diff --git a/res/layout/preference_battery_error.xml b/res/layout/preference_battery_error.xml index 66ff96a71f2..4efd13af012 100644 --- a/res/layout/preference_battery_error.xml +++ b/res/layout/preference_battery_error.xml @@ -1,20 +1,20 @@ - + + android:padding="20dp" + android:background="@color/battery_info_error_color_red"> @@ -53,7 +55,7 @@ android:layout_gravity="end" android:text="@string/battery_missing_link_message" android:textAppearance="?android:attr/textAppearanceSmall" - android:textColor="?android:attr/colorError" /> + android:textColor="@*android:color/material_red_A700" /> diff --git a/res/values/colors.xml b/res/values/colors.xml index 0aa309f92a3..be324125a4f 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -198,4 +198,6 @@ #F50D60 #00BCD4 #546E7A + + #fce8e6 \ No newline at end of file