由于客户需求不需要通知,所以要求去掉所有通知,而通知部分就是在SystemUI部分管理的,所以就要从这里入手来去掉关于通知栏的部分
首选要从两部分入手
第一部分,状态栏显示通知图标的部分
状态栏布局为status_bar.xml
首选来看status_bar.xml
<com.android.systemui.statusbar.phone.PhoneStatusBarViewxmlns:android="/apk/res/android"xmlns:systemui="/apk/res/com.android.systemui"android:layout_width="match_parent"android:layout_height="@dimen/status_bar_height"android:id="@+id/stat
如果觉得《Android 10.0 SystemUI状态栏屏蔽掉通知栏不显示通知》对你有帮助,请点赞、收藏,并留下你的观点哦!