Skip to content

Instantly share code, notes, and snippets.

@ShwetaChauhan18
Created January 25, 2020 17:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ShwetaChauhan18/7b0fe02fb823d49a8b274531d1036ee8 to your computer and use it in GitHub Desktop.
Save ShwetaChauhan18/7b0fe02fb823d49a8b274531d1036ee8 to your computer and use it in GitHub Desktop.
view.systemUiVisibility =
// We wish to be laid out as if the
// navigation bar was hidden
View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION or
// We wish to be laid out fullscreen,
// behind the status bar
View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN or
// We wish to be laid out at
// the most extreme scenario of any other flags
View.SYSTEM_UI_FLAG_LAYOUT_STABLE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment