From ab4d1d114c33d38704ce529aee4881f0ea9365ee Mon Sep 17 00:00:00 2001 From: Ibrahim Yilmaz Date: Mon, 1 Jul 2024 18:16:02 +0000 Subject: [NotificationHeader] Fix NotifHeader and LargeIcon conflict This CL fixes the relative layout constraint chain, which was the root cause of the notif header and large icon conflict. Fixes: 350073463 Flag: EXEMPT BUGFIX Test: Use Notify2 and send a bigtext/standard notifs with long text and large icon. Observe there is no conflict between header and largeicon. Change-Id: Ie31726440e5c7a8d0834951fae5ad4ab86adb5b9 --- core/res/res/layout/notification_template_header.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/res/res/layout/notification_template_header.xml b/core/res/res/layout/notification_template_header.xml index e44c7272bc1e..565d584875ac 100644 --- a/core/res/res/layout/notification_template_header.xml +++ b/core/res/res/layout/notification_template_header.xml @@ -62,7 +62,7 @@ android:layout_height="match_parent" android:layout_alignParentStart="true" android:layout_centerVertical="true" - android:layout_toStartOf="@id/expand_button" + android:layout_toStartOf="@id/notification_buttons_column" android:layout_alignWithParentIfMissing="true" android:clipChildren="false" android:gravity="center_vertical" -- cgit v1.2.3-59-g8ed1b