From e9c755a239173d00b0a8f0928d28a49d615c4cc9 Mon Sep 17 00:00:00 2001 From: Yining Liu Date: Thu, 6 Jul 2023 20:33:11 -0700 Subject: [PATCH] Fix overlapping Manage and Clear all buttons when display scale is at maximum Fix the overlapping "Manage" and "Clear all" buttons in the Notification Shade, when "Settings" > "Display size and text" > "Font size" and "Display size" are maximized by using a Constraint Layout chain. Test: Manual 1. Toggle "Settings" > "Display size and text" > "Font size", and "Display size" to max. 2. Go to Settings > System > Languages > App languages. Set the app language for Calculator and Calendar to Traditional Chinese. 3. Open the Shade and drag down, the "Manage" and "Clear all" buttons should not overlap (though they may be next to each other) Bug: 273401782 Bug: 287893062 Change-Id: Ifac1914f1f5428fc4b06dc141ade66eac1432985 --- .../layout/status_bar_notification_footer.xml | 69 +++++++++++-------- 1 file changed, 41 insertions(+), 28 deletions(-) diff --git a/packages/SystemUI/res/layout/status_bar_notification_footer.xml b/packages/SystemUI/res/layout/status_bar_notification_footer.xml index db94c92738f27..909048e17915b 100644 --- a/packages/SystemUI/res/layout/status_bar_notification_footer.xml +++ b/packages/SystemUI/res/layout/status_bar_notification_footer.xml @@ -17,10 +17,9 @@ - - + + + +