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
This commit is contained in:
mxyyiyi
2023-11-28 15:51:44 +08:00
parent c9ccf861c6
commit 440c3fc278
2 changed files with 5 additions and 3 deletions

View File

@@ -16,7 +16,8 @@
-->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
android:shape="rectangle">
<solid android:color="@color/settingslib_dialog_background" />
<solid android:color="?androidprv:attr/materialColorPrimaryContainer" />
<corners android:radius="@dimen/battery_hints_chip_corner_radius" />
</shape>

View File

@@ -17,6 +17,7 @@
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
@@ -36,7 +37,7 @@
android:layout_height="wrap_content"
android:paddingHorizontal="8dp"
android:textAlignment="viewStart"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?android:attr/textColorPrimary"/>
android:textAppearance="@style/TextAppearance.MaterialComponents.Subtitle2"
android:textColor="?androidprv:attr/materialColorOnSurface"/>
</LinearLayout>