https://jaeger.itscoder.com/android/2016/03/27/statusbar-util.html
implementation ‘com.jaeger.statusbarutil:library:1.4.0’
(1)设置状态栏颜色
StatusBarUtil.setColor(Activity activity, int color)
(2)设置状态栏半透明
StatusBarUtil.setTranslucent(Activity activity, int statusBarAlpha)
(3)设置状态栏全透明
StatusBarUtil.setTransparent(Activity activity)
(3)为使用 ImageView 作为头部的界面设置状态栏透明
StatusBarUtil.setTranslucentForImageView(Activity activity, int statusBarAlpha, View needOffsetView)
(4)为包含 DrawerLayout 的界面设置状态栏颜色(也可以设置半透明和全透明)
StatusBarUtil.setColorForDrawerLayout(Activity activity, DrawerLayout drawerLayout, int color)