状态栏全透明步骤:
1,反编译SystemUI.apk
2,SystemUI\res\layout\navigation_bar.xml
找到<com.android.systemui.statusbar.phone.NavigationBarView
将后面的
android:background="#FF000000"改为android:background="#00000000"
3,SystemUI\res\layout\status_bar.xml
找到<com.android.systemui.statusbar.phone.PhoneStatusBarView
将后面的android:background="@drawable/status_bar_background"
改为android:background="#00000000"
4,SystemUI\Data\res\values\drawables.xml
找到<item type="drawable" name="status_bar_background">#ff000000</item>
改为<item type="drawable" name="status_bar_background">#00000000</item>
5,反编译android.policy.jar
6,android.policy.jar.out\smali\com\android\internal\policy\impl\PhoneWindowManager.smali
找到.method public getSystemDecorRectLw(Landroid/graphics/Rect;)I
以及这一段结尾的
.end method
把这一段替换为
.method public getSystemDecorRectLw(Landroid/graphics/Rect;)I
.locals 1
.parameter "systemRect"

.prologue
.line 3208
iget v0, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mSystemLeft:I

iput v0, p1, Landroid/graphics/Rect;->left:I

.line 3209
iget v0, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mSystemTop:I

iput v0, p1, Landroid/graphics/Rect;->top:I

.line 3210
iget v0, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mSystemRight:I

iput v0, p1, Landroid/graphics/Rect;->right:I

.line 3211
iget v0, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mSystemBottom:I

iput v0, p1, Landroid/graphics/Rect;->bottom:I

.line 3212
const/4 v0, 0x0

return v0
.end method

锁屏全透明步骤:
1,反编译android.policy.jar
android.policy\Data\smali\com\android\internal\policy\impl\keyguard\KeyguardViewBase.smali
.field private static final BACKGROUND_COLOR:I = 0x70000000
改为.field private static final BACKGROUND_COLOR:I = 0x00000000
2,android.policy\Data\smali\com\android\internal\policy\impl\keyguard\KeyguardViewBase$1.smali
const/high16 v0, 0x7000
改为const/high16 v0, 0x0000