Skip to content

Instantly share code, notes, and snippets.

@chrisbanes
Created July 25, 2019 23:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save chrisbanes/00053561ea0077814dedbb95aaef8865 to your computer and use it in GitHub Desktop.
Save chrisbanes/00053561ea0077814dedbb95aaef8865 to your computer and use it in GitHub Desktop.
edge_to_edge_fullscreen
view.systemUiVisibility =
// Tells the system that the window wishes the content to
// be laid out at the most extreme scenario. See the docs for
// more information on the specifics
View.SYSTEM_UI_FLAG_LAYOUT_STABLE or
// Tells the system that the window wishes the content to
// be laid out as if the navigation bar was hidden
View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment