diff --git a/docs/html/preview/features/multi-window.jd b/docs/html/preview/features/multi-window.jd index 0fe5ecf32cb9f..0773b329bd7fb 100644 --- a/docs/html/preview/features/multi-window.jd +++ b/docs/html/preview/features/multi-window.jd @@ -251,7 +251,7 @@ android:supportsPictureInPicture=["true" | "false"]
android:minimalSize
+ android:minimalHeight, android:minimalWidth
The following new methods have been added to the {@link android.app.Activity} class to support multi-window display. For details on each method, see the - N Preview SDK Reference. + N Preview SDK + Reference.
Activity.inMultiWindow()
+ Activity.isInMultiWindowMode()
Activity.inPictureInPicture()
+ Activity.isInPictureInPictureMode()
Note: Picture-in-picture mode is a special case of
- multi-window mode. If myActivity.inPictureInPicture()
- returns true, then myActivity.inMultiWindow() also returns
- true.
+ multi-window mode. If myActivity.isInPictureInPictureMode()
+ returns true, then myActivity.isInMultiWindowMode() also
+ returns true.
Activity.onMultiWindowChanged()
+ Activity.onMultiWindowModeChanged()
Activity.onPictureInPictureChanged()
+ Activity.onPictureInPictureModeChanged()
There are also {@link android.app.Fragment} versions of each of these
- methods, for example Fragment.inMultiWindow().
+ methods, for example Fragment.isInMultiWindowMode().
To put an activity in picture-in-picture mode, call the new method
- Activity.enterPictureInPicture(). This method has no effect if
+ Activity.enterPictureInPictureMode(). This method has no effect if
the device does not support picture-in-picture mode. For more information,
see the Picture-in-Picture documentation.