From 45e962ff2a84420091b84c232487292d0c0f25db Mon Sep 17 00:00:00 2001 From: Julia Reynolds Date: Tue, 11 Apr 2023 16:57:49 -0400 Subject: [PATCH] Make snooze view taller When notification guts are shown, we don't make the backing notification card invisible, we just clip it to the height of the guts view. However, in S we introduces pretty severe corner rounding, which means that part of the clipped NotificationContentView can still be visible behind the guts view. So make the view a bit taller to account for the corner rounding Fixes: 191935939 Test: manually view snooze view for each template type Change-Id: Id5fa910646f78349199d1f47ae7724b8b15e764a --- packages/SystemUI/res/layout/notification_snooze.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/SystemUI/res/layout/notification_snooze.xml b/packages/SystemUI/res/layout/notification_snooze.xml index 11ec02575e97d..8b5368098c009 100644 --- a/packages/SystemUI/res/layout/notification_snooze.xml +++ b/packages/SystemUI/res/layout/notification_snooze.xml @@ -21,6 +21,8 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" + android:paddingTop="2dp" + android:paddingBottom="2dp" android:background="?androidprv:attr/colorSurface" android:theme="@style/Theme.SystemUI">