summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Ibrahim Yilmaz <iyz@google.com> 2024-07-01 18:16:02 +0000
committer Ibrahim Yilmaz <iyz@google.com> 2024-07-01 18:16:02 +0000
commitab4d1d114c33d38704ce529aee4881f0ea9365ee (patch)
tree7b7beecebd9f01000cbafe5c96d304e8217125f7
parente39d93fc13e6badaf2e30ebded9f8888204fe021 (diff)
[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
-rw-r--r--core/res/res/layout/notification_template_header.xml2
1 files changed, 1 insertions, 1 deletions
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"