Android 10.0 Modify NotificationGuts to rounded background

In SystemUI, the rounded background of the ui is used for each Notification in the notification bar of the drop-down status bar. The first choice is to watch the NotificationRow long-press, and the background layout that pops up is NotificationGuts.
Next, modify the background rounded layout of NotificationGuts.

By reading the source code, it is found that the layout is
notification_info.xml

--- a/frameworks/base/packages/SystemUI/res/layout/notification_info.xml
+++ b/frameworks/base/packages/SystemUI/res/layout/notification_info.xml
@@ -25,7 +25,7 @@
     android:clipToPadding="true"
     android:orientation="vertical"
     android:paddingStart="@*android:dimen/notification_content_margin_start"
-    android:background="@color/notification_guts_bg_color"

Guess you like

Origin blog.csdn.net/baidu_41666295/article/details/123750127