在Activity的onCreate方法中添加:写在setContentView之前
//隐藏状态栏
requestWindowFeature(Window.FEATURE_NO_TITLE)
window.addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN)
在Activity的onCreate方法中添加:写在setContentView之前
//隐藏状态栏
requestWindowFeature(Window.FEATURE_NO_TITLE)
window.addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN)