首页UI调整

This commit is contained in:
kehaoyuan
2019-11-28 20:34:58 +08:00
parent 1d0d0e40de
commit a1df2f6ca6
11 changed files with 42 additions and 109 deletions

View File

@ -235,15 +235,6 @@ public abstract class ToolBarActivity extends BaseActivity implements ToolbarCon
return false;
}
protected void setStatusBarColor(int color) {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
Window window = getWindow();
window.addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS);
window.clearFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS);
window.setStatusBarColor(color);
}
}
protected View.OnClickListener provideNavigationItemClickListener() {
return view -> onBackPressed();
}