就一行代码:
getWindow().addFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS);//设置透明状态栏
还有其他的样式,参考
https://blog.csdn.net/daihuimaozideren/article/details/78224927
就一行代码:
getWindow().addFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS);//设置透明状态栏
还有其他的样式,参考
https://blog.csdn.net/daihuimaozideren/article/details/78224927