StatusBarUtil
这个是用来设置导航条的
具体用法:
public static final void setTransparentStatusBar(Activity activity){
SystemBarTintManager tintManager = new SystemBarTintManager(activity);
tintManager.setStatusBarTintEnabled(true);//开启Tint
//设置灰色沉浸式状态栏
tintManager.setStatusBarTintColor(activity.getResources().getColor(R.color.gray));
}