Adapted the notification header colors to spec

Change-Id: Ifa9483a5e71f32be2df14912982076d7bf2a6e9a
This commit is contained in:
Selim Cinek
2016-02-05 10:31:20 -08:00
parent 0975a8dda6
commit aef485a32a
3 changed files with 2 additions and 3 deletions

View File

@@ -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) {

View File

@@ -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>

View File

@@ -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>