Android 9 SystemUI 未提供默认的移动信号显示
SystemUI 加载 statusBar流程
1、加载res/layout/super_status_bar.xml
2、加载res/layout/status_bar.xml 里面system_icons、clock
可以在System_icons.xml中添加下面代码:
<include layout="@layout/signal_cluster_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/signal_cluster_margin_start"/>
问题
这属于扩展模式
1、飞行模式,wifi 图标与system_icons 重复。