summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKatie McCormick <kmccormick@google.com>2013-12-16 18:39:25 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2013-12-16 18:39:25 +0000
commitd9a32847e51f19822937dc9b916e8b7ea5f50df7 (patch)
treefd103aa96e7aa738bb6b3330360fa078f69c1e01
parent27e391014a1e01dcc0c6b69c8ef78a60b1c0e751 (diff)
parent0f3390f846ed5ee63e3926b78878c7b75ee2f0c0 (diff)
downloadframeworks_base-d9a32847e51f19822937dc9b916e8b7ea5f50df7.zip
frameworks_base-d9a32847e51f19822937dc9b916e8b7ea5f50df7.tar.gz
frameworks_base-d9a32847e51f19822937dc9b916e8b7ea5f50df7.tar.bz2
am 0f3390f8: am c4927389: am 1e609ac4: am 4e6c5408: am c8b93fd9: Merge "Doc update: clarify version of flags." into klp-docs
* commit '0f3390f846ed5ee63e3926b78878c7b75ee2f0c0': Doc update: clarify version of flags.
-rw-r--r--docs/html/training/system-ui/navigation.jd3
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>