From b0441d79f14a20e9c0b36332822191a37914b20a Mon Sep 17 00:00:00 2001 From: Jeff DeCew Date: Tue, 23 Feb 2021 16:02:20 -0500 Subject: [PATCH] Minimized notification height = 56dp Test: Manual Bug: 181048615 Change-Id: I8c3a6197ab726cae138818c078d249614cc8a9c4 --- core/res/res/layout/notification_template_header.xml | 4 ++-- .../layout/notification_template_material_big_base.xml | 6 +----- .../layout/notification_template_material_big_media.xml | 1 - .../notification_template_material_big_picture.xml | 6 +----- .../layout/notification_template_material_big_text.xml | 6 +----- .../res/layout/notification_template_material_media.xml | 3 ++- core/res/res/values/dimens.xml | 9 +++------ packages/SystemUI/res/values/dimens.xml | 2 +- 8 files changed, 11 insertions(+), 26 deletions(-) diff --git a/core/res/res/layout/notification_template_header.xml b/core/res/res/layout/notification_template_header.xml index 62114630a3283..1de1d049197c8 100644 --- a/core/res/res/layout/notification_template_header.xml +++ b/core/res/res/layout/notification_template_header.xml @@ -17,8 +17,8 @@ - + - + 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 2452a32b21eb4..2954ba2a09033 100644 --- a/core/res/res/layout/notification_template_material_big_text.xml +++ b/core/res/res/layout/notification_template_material_big_text.xml @@ -23,11 +23,7 @@ android:tag="bigText" > - + + android:layout_height="@dimen/media_notification_header_height" + /> 8dp - - 48dp - - - 56dp + + 56dp 49.5dp @@ -365,7 +362,7 @@ 20dp - @dimen/notification_header_big_height + @dimen/notification_header_height 8dp diff --git a/packages/SystemUI/res/values/dimens.xml b/packages/SystemUI/res/values/dimens.xml index 4bc5a300e833b..89c849a0ef4a1 100644 --- a/packages/SystemUI/res/values/dimens.xml +++ b/packages/SystemUI/res/values/dimens.xml @@ -651,7 +651,7 @@ - 53dp + @*android:dimen/notification_header_height @dimen/notification_side_paddings