Huy Duong Tu Huy Duong Tu - 7 months ago 86
Android Question

"@android:style/TextAppearance.StatusBar.EventContent.Title" sets the color to white instead of grey in android L

Android L uses white background for notifications and grey color for the text on it. But,

still sets the color of
to same white color like in KitKat or previous versions. It should return the grey color used in new notification style of Android L.

How can I solve it? Thanks in advance.


It seems android-L doesn't override "@android:style/TextAppearance.StatusBar.EventContent.Title", instead introduces new style

<style name="TextAppearance.Material.Notification.Title">
    <item name="textColor">@color/primary_text_default_material_light</item>
    <item name="textSize">@dimen/notification_title_text_size</item>