diff --git a/docs/html/preview/features/multi-window.jd b/docs/html/preview/features/multi-window.jd index e2c1f47f44df0..bfc4b820edabe 100644 --- a/docs/html/preview/features/multi-window.jd +++ b/docs/html/preview/features/multi-window.jd @@ -52,9 +52,9 @@ page.keywords="multi-window", "android N", "split screen", "free-form"
+ Users can drag and + drop data from one activity to another while the activities are sharing + the screen. (Previously, users could only drag and drop data within a single + activity.) +
+@@ -285,8 +291,7 @@ android:supportsPictureInPicture=["true" | "false"]
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
- Note: Picture-in-Picture mode is a special case of
+ Note: Picture-in-picture mode is a special case of
multi-window mode. If myActivity.inPictureInPicture()
returns true, then myActivity.inMultiWindow() also returns
true.
@@ -341,14 +346,13 @@ android:supportsPictureInPicture=["true" | "false"]
methods, for example Fragment.inMultiWindow().
To put an activity in picture-in-picture mode, call the new method
Activity.enterPictureInPicture(). This method has no effect if
the device does not support picture-in-picture mode. For more information,
- see
- Picture-in-Picture Mode.
+ see the Picture-in-Picture documentation.
+ Users can drag and + drop data from one activity to another while the two activities are + sharing the screen. (Previously, users could only drag and drop data within a + single activity.) For this reason, you may want to add drag and drop + functionality to your app if your app does not currently support it. +
+ +
+ The N Preview SDK extends the android.view
+ package to support cross-app drag and drop. For details on the following
+ classes and methods, see the N
+ Preview SDK Reference.
+
android.view.DropPermissions
+ View.startDragAndDrop()
+ View.cancelDragAndDrop()
+ View.updateDragShadow()
+ Activity.requestDropPermissions()
+