Use material color res from settingslib for battery tips card
Settings Anomaly Card [Before-Dark] https://screenshot.googleplex.com/5PZC6mbWjqunvuv [Before-Light] https://screenshot.googleplex.com/7eoF6yLX6t3JeHz [After-Dark] https://screenshot.googleplex.com/5j4mQFDXjkVcxHs [After-Light] https://screenshot.googleplex.com/5ySzfzft9293GXb App Anomaly Card [Before-Dark] https://screenshot.googleplex.com/JKkcqCiAKxkPZds [Before-Light] https://screenshot.googleplex.com/ASB4CnDhPjsQohH [After-Dark] https://screenshot.googleplex.com/5y3LVvng54vndi9 [After-Light] https://screenshot.googleplex.com/NCJeuViCtDcNhiV Bug: 339130556 Test: atest SettingsRoboTests:com.android.settings.fuelgauge.batteryusage Change-Id: I29d68713c14068fd9961082a148dd02ad38289a6
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
android:layout_marginTop="8dp"
|
||||
android:textAlignment="viewStart"
|
||||
android:textAppearance="@style/TextAppearance.Material3.TitleMedium"
|
||||
android:textColor="?android:attr/textColorPrimary" />
|
||||
android:textColor="@color/settingslib_materialColorOnSurface" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
@@ -55,7 +55,7 @@
|
||||
android:paddingHorizontal="16dp"
|
||||
android:text="@string/battery_tips_card_action_button"
|
||||
android:textAppearance="@style/TextAppearance.MaterialComponents.Subtitle2"
|
||||
android:textColor="@color/power_anomaly_primary_button_text_color"
|
||||
android:textColor="@color/settingslib_materialColorOnPrimary"
|
||||
app:backgroundTint="@color/color_accent_selector" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
@@ -38,6 +38,6 @@
|
||||
android:paddingHorizontal="8dp"
|
||||
android:textAlignment="viewStart"
|
||||
android:textAppearance="@style/TextAppearance.MaterialComponents.Subtitle2"
|
||||
android:textColor="?androidprv:attr/materialColorOnSurface"/>
|
||||
android:textColor="@color/settingslib_materialColorOnSurface"/>
|
||||
|
||||
</LinearLayout>
|
||||
Reference in New Issue
Block a user