引入
``implementation 'com.gyf.immersionbar:immersionbar:3.0.0' //导航栏
mImmersionBar = ImmersionBar.with(this);
mImmersionBar
.fitsSystemWindows(true) //使用该属性,必须指定状态栏颜色
.statusBarDarkFont(false,0.2f)
.statusBarColor(R.color.title_color) //状态栏颜色,不写默认透明色
.keyboardEnable(true)
.init(); //所有子类都将继承这些相同的属性
over