if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {    Window window = getWindow();    SystemBarTintManager tintManager = new SystemBarTintManager(this);    tintManager.setStatusBarTintEnabled(true);    //此处可以重新指定状态栏颜色    tintManager.setStatusBarTintResource(R.color.title_back_n);}需要注意的是,只有在大于4.4.版本的才适用
新闻热点
疑难解答