Skip to content

Commit

Permalink
添加状态栏颜色修改
Browse files Browse the repository at this point in the history
  • Loading branch information
puyang1017 committed Feb 2, 2019
1 parent fbb0e3f commit f0a70a6
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,14 @@ public void initStatusBar(int id) {
mImmersionBar.init();
}

public void initStatusBar(int id, boolean statusBarDark) {
mImmersionBar = ImmersionBar.with(this);
mImmersionBar.titleBar(id);
mImmersionBar.statusBarDarkFont(statusBarDark);
mImmersionBar.keyboardEnable(true);
mImmersionBar.init();
}

public void setMaterialRipple(int color,View ...views){
for (View view:views){
MaterialRippleLayout.on(view)
Expand Down

0 comments on commit f0a70a6

Please sign in to comment.