1.概述
在10.0定制化产品开发中,需求要求对SystemUI通知栏ui进行定制,在状态栏展开布局中的通知栏增加通知头文字
2.下拉通知栏 通知列表 添加通知头的核心类
/frameworks/base/packages/SystemUI/res/layout/status_bar_expanded.xml
frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java
3.下拉通知栏 通知列表 添加通知头的核心功能实现和分析
在SystemUI的下拉通知栏中,首先看下拉状态栏布局就是
status_bar_expanded.xml中然后可以看通知栏的布局
然后对通知栏布局做修改
3.1status_bar_expanded.xml相关布局的分析
<com.android.systemui.statusbar.phone.NotificationPanelView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui=