diff options
author | Katie McCormick <kmccormick@google.com> | 2013-12-12 14:42:55 -0800 |
---|---|---|
committer | Katie McCormick <kmccormick@google.com> | 2013-12-12 14:48:39 -0800 |
commit | 8b8194b500f644912da23ad8d9f354e702581ab6 (patch) | |
tree | 3a2bc3151ee142d3bf8068cf49df276c420be95f /docs/html/training | |
parent | c6da523207d3ddf7b9da98fcb5e461f286eb7aa4 (diff) | |
download | frameworks_base-8b8194b500f644912da23ad8d9f354e702581ab6.zip frameworks_base-8b8194b500f644912da23ad8d9f354e702581ab6.tar.gz frameworks_base-8b8194b500f644912da23ad8d9f354e702581ab6.tar.bz2 |
Doc update: clarify version of flags.
Fixes:
b/11999080
Change-Id: I0eda86d5162caab6809ff780387091544530dc32
Diffstat (limited to 'docs/html/training')
-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> |