Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a43e4cb4 authored by Yining Liu's avatar Yining Liu
Browse files

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
parent d54d2d4d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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. -->