{{docContent.title}}

隐藏状态栏

就一行代码:

getWindow().addFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS);//设置透明状态栏

还有其他的样式,参考

https://blog.csdn.net/daihuimaozideren/article/details/78224927