Set light navigation bar
This commit is contained in:
parent
3722347305
commit
cccbc2804e
4 changed files with 12 additions and 4 deletions
|
@ -51,6 +51,7 @@ abstract class AbsThemeActivity : ATHToolbarActivity(), Runnable {
|
|||
registerSystemUiVisibility()
|
||||
toggleScreenOn()
|
||||
setDrawUnderNavigationBar()
|
||||
setLightNavigationAuto()
|
||||
//MaterialDialogsUtil.updateMaterialDialogsThemeSingleton(this)
|
||||
}
|
||||
|
||||
|
@ -150,6 +151,10 @@ abstract class AbsThemeActivity : ATHToolbarActivity(), Runnable {
|
|||
setNavigationbarColor(ATHUtil.resolveColor(this, R.attr.colorSurface))
|
||||
}
|
||||
|
||||
fun setLightNavigationAuto() {
|
||||
ATH.setLightNavigationbarAuto(this, surfaceColor())
|
||||
}
|
||||
|
||||
open fun setLightStatusbar(enabled: Boolean) {
|
||||
ATH.setLightStatusbar(this, enabled)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue