fix #66, totally hide the navigation bar at fullscreen mode
This commit is contained in:
parent
9838cc1e2d
commit
7c6ba51066
|
@ -66,6 +66,7 @@ open class SimpleActivity : AppCompatActivity() {
|
||||||
supportActionBar?.hide()
|
supportActionBar?.hide()
|
||||||
window.decorView.systemUiVisibility = View.SYSTEM_UI_FLAG_LAYOUT_STABLE or
|
window.decorView.systemUiVisibility = View.SYSTEM_UI_FLAG_LAYOUT_STABLE or
|
||||||
View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION or
|
View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION or
|
||||||
|
View.SYSTEM_UI_FLAG_HIDE_NAVIGATION or
|
||||||
View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN or
|
View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN or
|
||||||
View.SYSTEM_UI_FLAG_LOW_PROFILE or
|
View.SYSTEM_UI_FLAG_LOW_PROFILE or
|
||||||
View.SYSTEM_UI_FLAG_FULLSCREEN or
|
View.SYSTEM_UI_FLAG_FULLSCREEN or
|
||||||
|
|
Loading…
Reference in New Issue