Merge changes from topic "Notificaiton Large font size UI clippings" into udc-dev

* changes:
  Fix text clipping of NotificationVanishingFrameLayout, when the system font size is at maximum
  Fix text clipping of Turn off notifications button in Guts, when the system font size is at maximum
This commit is contained in:
Yining Liu
2023-03-21 21:10:58 +00:00
committed by Android (Google) Code Review
2 changed files with 4 additions and 2 deletions

View File

@@ -116,7 +116,8 @@
<com.android.internal.widget.NotificationVanishingFrameLayout
android:layout_width="match_parent"
android:layout_height="@dimen/notification_headerless_line_height"
android:layout_height="wrap_content"
android:minHeight="@dimen/notification_headerless_line_height"
>
<!-- This is the simplest way to keep this text vertically centered without
gravity="center_vertical" which causes jumpiness in expansion animations. -->

View File

@@ -321,7 +321,8 @@ asked for it -->
<RelativeLayout
android:id="@+id/bottom_buttons"
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_height="wrap_content"
android:minHeight="60dp"
android:gravity="center_vertical"
android:paddingStart="4dp"
android:paddingEnd="4dp"