diff options
author | Katie McCormick <kmccormick@google.com> | 2013-12-16 18:28:00 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2013-12-16 18:28:00 +0000 |
commit | 4e6c5408273882fc297142456c0ad5bbcb5f2f6a (patch) | |
tree | 0128c16ea08bc1fa9443aa695b288b17775dd34f | |
parent | f85470e6861e012c145dc04d70656757be611280 (diff) | |
parent | c8b93fd9727d5ac408f492b22364c1d50c5bc97a (diff) | |
download | frameworks_base-4e6c5408273882fc297142456c0ad5bbcb5f2f6a.zip frameworks_base-4e6c5408273882fc297142456c0ad5bbcb5f2f6a.tar.gz frameworks_base-4e6c5408273882fc297142456c0ad5bbcb5f2f6a.tar.bz2 |
am c8b93fd9: Merge "Doc update: clarify version of flags." into klp-docs
* commit 'c8b93fd9727d5ac408f492b22364c1d50c5bc97a':
Doc update: clarify version of flags.
-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> |