Fix text clipping of Turn off notifications button in Guts, when the system font size is at maximum

Fixes the visually clipped Turn off notifications button in Guts, 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 Notification with Notify2, then open the Shade. Long-press the notification to open the guts, the Turn off notifications button shouldn't be clipped.
Bug: 264007955
Bug: 273401782
Change-Id: I66763cc514e49e63c4f6e4a89a9cff4868769af5
This commit is contained in:
Yining Liu
2023-03-15 22:54:54 +00:00
parent c2540fda16
commit d54d2d4d86

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"