diff options
Diffstat (limited to 'data/res/values/styles_material.xml')
-rw-r--r-- | data/res/values/styles_material.xml | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/data/res/values/styles_material.xml b/data/res/values/styles_material.xml index 470ac522..2cd4dcb8 100644 --- a/data/res/values/styles_material.xml +++ b/data/res/values/styles_material.xml @@ -505,8 +505,17 @@ please see styles_device_defaults.xml. <item name="layout_width">match_parent</item> <item name="layout_height">wrap_content</item> <item name="ellipsize">end</item> - <item name="visibility">gone</item> <item name="textAppearance">@style/TextAppearance.Material.Notification</item> + <item name="background">@drawable/messaging_message_background</item> + </style> + + <style name="Widget.Material.Notification.MessagingName" parent="Widget.Material.Light.TextView"> + <item name="layout_width">wrap_content</item> + <item name="layout_height">wrap_content</item> + <item name="ellipsize">end</item> + <item name="textAppearance">@style/TextAppearance.Material.Notification</item> + <item name="textColor">@color/notification_primary_text_color_light</item> + <item name="textSize">12sp</item> </style> <!-- Widget Styles --> @@ -1296,6 +1305,11 @@ please see styles_device_defaults.xml. <item name="layout_marginBottom">@dimen/notification_header_margin_bottom</item> <item name="paddingStart">@dimen/notification_content_margin_start</item> <item name="paddingEnd">16dp</item> + <item name="gravity">top</item> + </style> + + <style name="Notification.Header.Ambient"> + <item name="gravity">top|center_horizontal</item> </style> </resources> |