Fix text clipping of NotificationVanishingFrameLayout, when the system font size is at maximum
Fixes the visually clipped notification content text inside NotificationVanishingFrameLayout, when the Accessibility - Display size and text - font size is at its maximum(2.0 scale). Test: Manual, Go to Settings > Accessibility > Display size and text. Adjust the "Font size" to the biggest. Post an Account update alert notification, then open the Shade. The notification's content text shouldn't be clipped. Bug: 273401782 Change-Id: I2fcaae6a68692a4bc19eedf4cdd84d3a0716663b
This commit is contained in:
@@ -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. -->
|
||||
|
||||
Reference in New Issue
Block a user