Update dark theme battery info error text color

screenshot: https://screenshot.googleplex.com/8UyMj5q7tLJ2uA8.png

Bug: 187611525
Test: make SettingsRoboTests
Change-Id: Iefec51d9ca6d27c9173af0756301f4278e928433
This commit is contained in:
Wesley.CW Wang
2021-07-16 14:17:46 +08:00
parent 685fedd6c2
commit 7e9fdf69a4
2 changed files with 4 additions and 0 deletions

View File

@@ -47,6 +47,7 @@
android:layout_marginTop="12dp" android:layout_marginTop="12dp"
android:layout_marginBottom="16dp" android:layout_marginBottom="16dp"
android:text="@string/battery_missing_message" android:text="@string/battery_missing_message"
android:textColor="@color/battery_info_error_color_black"
android:textAppearance="?android:attr/textAppearanceListItem" /> android:textAppearance="?android:attr/textAppearanceListItem" />
<TextView android:id="@+id/link_text" <TextView android:id="@+id/link_text"

View File

@@ -210,4 +210,7 @@
<!-- Material inverse ripple color, useful for inverted backgrounds. --> <!-- Material inverse ripple color, useful for inverted backgrounds. -->
<color name="ripple_material_inverse">@*android:color/ripple_material_dark</color> <color name="ripple_material_inverse">@*android:color/ripple_material_dark</color>
<!-- Battery error text color -->
<color name="battery_info_error_color_black">@*android:color/primary_text_default_material_light</color>
</resources> </resources>