Merge "Minimized notification height = 56dp" into sc-dev am: 8e2599beaa

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13678667

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3575254d131b871f40024b933ee18205c70765ff
This commit is contained in:
Jeff DeCew
2021-02-24 04:28:08 +00:00
committed by Automerger Merge Worker
8 changed files with 11 additions and 26 deletions

View File

@@ -17,8 +17,8 @@
<NotificationHeaderView <NotificationHeaderView
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/notification_header" android:id="@+id/notification_header"
android:layout_width="wrap_content" android:layout_width="match_parent"
android:layout_height="@dimen/notification_header_solo_height" android:layout_height="@dimen/notification_header_height"
android:layout_marginBottom="@dimen/notification_header_margin_bottom" android:layout_marginBottom="@dimen/notification_header_margin_bottom"
android:clipChildren="false" android:clipChildren="false"
android:gravity="center_vertical" android:gravity="center_vertical"

View File

@@ -38,11 +38,7 @@
android:layout_gravity="top" android:layout_gravity="top"
> >
<include <include layout="@layout/notification_template_header" />
layout="@layout/notification_template_header"
android:layout_width="match_parent"
android:layout_height="@dimen/notification_header_big_height"
/>
<LinearLayout <LinearLayout
android:id="@+id/notification_main_column" android:id="@+id/notification_main_column"

View File

@@ -36,7 +36,6 @@
layout="@layout/notification_template_header" layout="@layout/notification_template_header"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="@dimen/media_notification_header_height" android:layout_height="@dimen/media_notification_header_height"
android:layout_gravity="start"
/> />
<LinearLayout <LinearLayout

View File

@@ -23,11 +23,7 @@
android:clipChildren="false" android:clipChildren="false"
> >
<include <include layout="@layout/notification_template_header" />
layout="@layout/notification_template_header"
android:layout_width="match_parent"
android:layout_height="@dimen/notification_header_big_height"
/>
<include layout="@layout/notification_template_right_icon" /> <include layout="@layout/notification_template_right_icon" />

View File

@@ -23,11 +23,7 @@
android:tag="bigText" android:tag="bigText"
> >
<include <include layout="@layout/notification_template_header" />
layout="@layout/notification_template_header"
android:layout_width="match_parent"
android:layout_height="@dimen/notification_header_big_height"
/>
<com.android.internal.widget.RemeasuringLinearLayout <com.android.internal.widget.RemeasuringLinearLayout
android:id="@+id/notification_action_list_margin_target" android:id="@+id/notification_action_list_margin_target"

View File

@@ -32,7 +32,8 @@
/> />
<include layout="@layout/notification_template_header" <include layout="@layout/notification_template_header"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="@dimen/media_notification_header_height" /> android:layout_height="@dimen/media_notification_header_height"
/>
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@@ -271,11 +271,8 @@
<!-- The top margin before the notification progress bar. --> <!-- The top margin before the notification progress bar. -->
<dimen name="notification_progress_margin_top">8dp</dimen> <dimen name="notification_progress_margin_top">8dp</dimen>
<!-- height of the notification header when the notification is alone (minimized / groups) --> <!-- height of the notification header -->
<dimen name="notification_header_solo_height">48dp</dimen> <dimen name="notification_header_height">56dp</dimen>
<!-- height of the notification header when in a "big" layout -->
<dimen name="notification_header_big_height">56dp</dimen>
<!-- The height of the background for a notification header on a group --> <!-- The height of the background for a notification header on a group -->
<dimen name="notification_header_background_height">49.5dp</dimen> <dimen name="notification_header_background_height">49.5dp</dimen>
@@ -365,7 +362,7 @@
<dimen name="media_notification_expanded_image_margin_bottom">20dp</dimen> <dimen name="media_notification_expanded_image_margin_bottom">20dp</dimen>
<!-- The absolute height for the header in a media notification. --> <!-- The absolute height for the header in a media notification. -->
<dimen name="media_notification_header_height">@dimen/notification_header_big_height</dimen> <dimen name="media_notification_header_height">@dimen/notification_header_height</dimen>
<!-- The margin of the content to an image--> <!-- The margin of the content to an image-->
<dimen name="notification_content_image_margin_end">8dp</dimen> <dimen name="notification_content_image_margin_end">8dp</dimen>

View File

@@ -651,7 +651,7 @@
</dimen> </dimen>
<!-- The height of a notification header --> <!-- The height of a notification header -->
<dimen name="notification_header_height">53dp</dimen> <dimen name="notification_header_height">@*android:dimen/notification_header_height</dimen>
<!-- The height of the gap between adjacent notification sections. --> <!-- The height of the gap between adjacent notification sections. -->
<dimen name="notification_section_divider_height">@dimen/notification_side_paddings</dimen> <dimen name="notification_section_divider_height">@dimen/notification_side_paddings</dimen>