From 6555bee8e76968defb36a2d140cf9005211f44e1 Mon Sep 17 00:00:00 2001 From: Selim Cinek Date: Wed, 25 Apr 2018 16:08:55 +0800 Subject: [PATCH] Adjusted the lineHeight for notification texts The lineheight is now at 20dp Test: observe all notification layouts and consistent lineheights Change-Id: If39b6bef98e41c4a5890a82d7e30f2892ef3d7b1 Fixes: 78127131 --- .../notification_template_material_big_text.xml | 2 +- .../notification_template_material_inbox.xml | 14 +++++++------- .../notification_template_messaging_group.xml | 1 + .../layout/notification_template_part_line1.xml | 2 +- core/res/res/layout/notification_template_text.xml | 2 +- core/res/res/values/styles_material.xml | 10 +++++++--- .../SystemUI/res/layout/hybrid_notification.xml | 1 - .../SystemUI/res/layout/hybrid_overflow_number.xml | 2 +- packages/SystemUI/res/values/styles.xml | 7 ++----- 9 files changed, 21 insertions(+), 20 deletions(-) diff --git a/core/res/res/layout/notification_template_material_big_text.xml b/core/res/res/layout/notification_template_material_big_text.xml index 3a6f57335fedf..d1861d9383d67 100644 --- a/core/res/res/layout/notification_template_material_big_text.xml +++ b/core/res/res/layout/notification_template_material_big_text.xml @@ -53,10 +53,10 @@ android:layout_marginTop="@dimen/notification_progress_margin_top" android:layout_marginBottom="6dp"/> diff --git a/core/res/res/layout/notification_template_part_line1.xml b/core/res/res/layout/notification_template_part_line1.xml index ca35de3922ed4..6459bb8019b41 100644 --- a/core/res/res/layout/notification_template_part_line1.xml +++ b/core/res/res/layout/notification_template_part_line1.xml @@ -31,7 +31,7 @@ android:textAlignment="viewStart" /> diff --git a/core/res/res/values/styles_material.xml b/core/res/res/values/styles_material.xml index b8a046f79371c..2d97db03d152b 100644 --- a/core/res/res/values/styles_material.xml +++ b/core/res/res/values/styles_material.xml @@ -500,11 +500,15 @@ please see styles_device_defaults.xml. + + - @@ -360,10 +361,6 @@ parent="@*android:style/TextAppearance.Material.Notification.Info"> - -