diff --git a/docs/html/training/system-ui/status.jd b/docs/html/training/system-ui/status.jd index 9169efc854921..8e5b35638ec88 100755 --- a/docs/html/training/system-ui/status.jd +++ b/docs/html/training/system-ui/status.jd @@ -13,7 +13,6 @@ trainingnavtop=true
On Android 4.1 and higher, to avoid resizing your layout when the action bar hides and - shows, you can enable overlay mode for the action bar. - When in overlay mode, your activity layout uses all the - space available as if the action bar is not there and the system draws the action bar in - front of your layout. This obscures some of the layout at the top, but now when the - action bar hides or appears, the system does not need to resize your layout and the - transition is seamless.
- -To enable overlay mode for the action bar, you need to create a custom theme that - extends an existing theme with an action bar and set the - {@code android:windowActionBarOverlay} attribute - to {@code true}. For more discussion of this topic, see - - Overlaying the Action Bar in the - Adding the Action Bar class.
- - -Then use -{@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN}, -as described above, -to set your activity layout to use the same screen area that's available when you've enabled -{@link android.view.View#SYSTEM_UI_FLAG_FULLSCREEN}. - -When you want to hide the system UI, use -{@link android.view.View#SYSTEM_UI_FLAG_FULLSCREEN}. -This also hides the action bar (because {@code windowActionBarOverlay=”true”)} and does -so with a coordinated animation when both hiding and showing the two.