Fix MediaStyle Notification clipping text when the system font size is at maximum

Fixes the visually cut off text inside MediaStyle Notification 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 MediaStyle Notification, then open the Shade. The MediaStyle Notification's media_seamless_button texts shouldn't be cut off.
Bug: 264009793
Bug: 273401782
Change-Id: I4d8a973d76fba5c6e519f7e152ef762aa9b31209
This commit is contained in:
Yining Liu
2023-03-10 00:09:39 +00:00
parent ee9f52586e
commit 00433149c5

View File

@@ -97,7 +97,8 @@
android:background="@drawable/qs_media_light_source"
android:forceHasOverlappingRendering="false"
android:layout_width="wrap_content"
android:layout_height="@dimen/min_clickable_item_size"
android:minHeight="@dimen/min_clickable_item_size"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/qs_center_guideline_padding"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"