1.反编译systemui.apk
2.找到systemui\res\layout\status_bar.xml
3.查找:
xmlns:android="http://schemas.android.com/apk/res/andro">
4.下方添加:
1. <com.android.systemui.statusbar.Clockandroid:textAppearance="@android:style/TextAppearance.StatusBar.Icon"android:gravity="left|center" android:paddingRight="6.0dip"android:layout_width="wrap_content"android:layout_height="fill_parent"android:layout_gravity="center_horizontal"android:singleLine="true" />
5.回编译systemUI文件夹
6.提取回编译好的status_bar.xml 覆盖到原来的apk里面