Fix NotificationTopLineView clipping text when the font size is at maximum
Fixes the visually cut off text when the Accessibility - Display size and text - font size is at its maximum. Test: Manual. Go to Settings > Accessibility > Display size and text. Adjust the "Font size" to the biggest. Post a Message Notification, and a BigText Notification. Open the Shade. The collapsed notifications' title texts shouldn't be cut off. Bug: 264009793 Bug: 273401782 Change-Id: I9694e448d235b152117ff00d29597c66b64c6733
This commit is contained in:
@@ -79,7 +79,8 @@
|
||||
<NotificationTopLineView
|
||||
android:id="@+id/notification_top_line"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/notification_headerless_line_height"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="@dimen/notification_headerless_line_height"
|
||||
android:clipChildren="false"
|
||||
android:theme="@style/Theme.DeviceDefault.Notification"
|
||||
>
|
||||
|
||||
@@ -102,7 +102,8 @@
|
||||
<NotificationTopLineView
|
||||
android:id="@+id/notification_top_line"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/notification_headerless_line_height"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="@dimen/notification_headerless_line_height"
|
||||
android:layout_marginStart="@dimen/notification_content_margin_start"
|
||||
android:clipChildren="false"
|
||||
android:theme="@style/Theme.DeviceDefault.Notification"
|
||||
|
||||
Reference in New Issue
Block a user