所用工具:apktool
步骤:1、反编译 SystemUI.apk
2、打开SystemUI/res/status_bar.xml,修改
android:background="@drawable/status_bar_background";
为
android:background="#00000000"
3、打开SystemUI/res/tw_status_bar.xml,修改同上;
备注:如果想要半透明修改修改结果为"#50000000"
4、打开smali/com/android/systemui/startusbar/StartusBar.smali,查找
new-instance v11. Landroid/view/WindowManager$LayoutParams
把"const/16 v16,0x4"修改成"const/16 v16,-0x3";
5、回编译SystemUI,把得到的APK中修改的地方放入原SystemUI.apk中;
6、在手机中替换并重启。