Adapted the notification header colors to spec
Change-Id: Ifa9483a5e71f32be2df14912982076d7bf2a6e9a
This commit is contained in:
@@ -3236,6 +3236,7 @@ public class Notification implements Parcelable
|
||||
return;
|
||||
}
|
||||
contentView.setTextViewText(R.id.app_name_text, appName);
|
||||
contentView.setTextColor(R.id.app_name_text, resolveColor());
|
||||
}
|
||||
|
||||
private void bindSmallIcon(RemoteViews contentView) {
|
||||
|
||||
@@ -48,8 +48,6 @@
|
||||
<color name="primary_text_default_material_light">#de000000</color>
|
||||
<!-- 54% black -->
|
||||
<color name="secondary_text_default_material_light">#8a000000</color>
|
||||
<!-- 38% black -->
|
||||
<color name="tertiary_text_default_material_light">#61000000</color>
|
||||
|
||||
<!-- 100% white -->
|
||||
<color name="primary_text_default_material_dark">#ffffffff</color>
|
||||
|
||||
@@ -444,7 +444,7 @@ please see styles_device_defaults.xml.
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.Material.Notification.Info">
|
||||
<item name="textColor">@color/tertiary_text_default_material_light</item>
|
||||
<item name="textColor">@color/secondary_text_default_material_light</item>
|
||||
<item name="textSize">@dimen/notification_subtext_size</item>
|
||||
</style>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user