Cleaned up setStatusBarTranslucent method
This commit is contained in:
parent
fa40a6915c
commit
9334fa1f20
2 changed files with 5 additions and 15 deletions
|
|
@ -105,7 +105,7 @@ public abstract class AbsThemeActivity extends AppCompatActivity implements KabV
|
|||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP)
|
||||
Util.setAllowDrawUnderStatusBar(getWindow());
|
||||
else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT)
|
||||
Util.setStatusBarTranslucent(getWindow(), true);
|
||||
Util.setStatusBarTranslucent(getWindow());
|
||||
}
|
||||
|
||||
protected final void setNavigationBarColor(int color) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue