fix #66, totally hide the navigation bar at fullscreen mode

This commit is contained in:
tibbi 2016-11-22 23:18:45 +01:00
parent 9838cc1e2d
commit 7c6ba51066

View file

@ -66,6 +66,7 @@ open class SimpleActivity : AppCompatActivity() {
supportActionBar?.hide()
window.decorView.systemUiVisibility = View.SYSTEM_UI_FLAG_LAYOUT_STABLE 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_LOW_PROFILE or
View.SYSTEM_UI_FLAG_FULLSCREEN or