在SystemUI种下拉通知栏也是SystemUI重要的一个部分,对其进行定制化修改,也是常有的工作范围
接下来就来对其的ui进行定制 做背景圆角处理
在通知栏布局都是由NotificationStackScrollLayout.java 来负责显示的
而每一条消息是有status_bar_notification_row.xml 来负责显示的
所以对通知的圆角修改如下:
diff --git a/frameworks/base/packages/SystemUI/res/layout/status_bar_notification_row.xml b/frameworks/base/packages/SystemUI/res/layout/status_bar_notification_row.xml
old mode 100644 (file)
new mode 100755 (executable)
index 84b9e3d..45a2408
--- a/frameworks/base/packages/SystemUI/res/layout/status_bar_notification_row.xml
+++ b/frameworks/base/packages/SystemUI/res/layout/status_bar_notification_row.xml