diff options
author | Katie McCormick <kmccormick@google.com> | 2013-12-16 18:25:12 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-12-16 18:25:12 +0000 |
commit | c8b93fd9727d5ac408f492b22364c1d50c5bc97a (patch) | |
tree | b7d7b0edf577bfc7d928f914a454f496fe3d47d2 | |
parent | fbbc1b791e0a26a56bc8d45622d06f06e020191a (diff) | |
parent | 8b8194b500f644912da23ad8d9f354e702581ab6 (diff) | |
download | frameworks_base-c8b93fd9727d5ac408f492b22364c1d50c5bc97a.zip frameworks_base-c8b93fd9727d5ac408f492b22364c1d50c5bc97a.tar.gz frameworks_base-c8b93fd9727d5ac408f492b22364c1d50c5bc97a.tar.bz2 |
Merge "Doc update: clarify version of flags." into klp-docs
-rw-r--r-- | docs/html/training/system-ui/navigation.jd | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/html/training/system-ui/navigation.jd b/docs/html/training/system-ui/navigation.jd index 3907bb2..1c73c70 100644 --- a/docs/html/training/system-ui/navigation.jd +++ b/docs/html/training/system-ui/navigation.jd @@ -63,6 +63,9 @@ user experience. </p> the navigation bar and the status bar:</p> <pre>View decorView = getWindow().getDecorView(); // Hide both the navigation bar and the status bar. +// SYSTEM_UI_FLAG_FULLSCREEN is only available on Android 4.1 and higher, but as +// a general rule, you should design your app to hide the status bar whenever you +// hide the navigation bar. int uiOptions = View.SYSTEM_UI_FLAG_HIDE_NAVIGATION | View.SYSTEM_UI_FLAG_FULLSCREEN; decorView.setSystemUiVisibility(uiOptions);</pre> |