diff --git a/docs/html/training/system-ui/navigation.jd b/docs/html/training/system-ui/navigation.jd index 3907bb2164f2f..1c73c703891dd 100644 --- a/docs/html/training/system-ui/navigation.jd +++ b/docs/html/training/system-ui/navigation.jd @@ -63,6 +63,9 @@ user experience.
the navigation bar and the status bar: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);