diff --git a/docs/html/preview/features/multi-window.jd b/docs/html/preview/features/multi-window.jd index bfc4b820edabe..0f68c82761d5e 100644 --- a/docs/html/preview/features/multi-window.jd +++ b/docs/html/preview/features/multi-window.jd @@ -15,6 +15,12 @@ page.keywords="multi-window", "android N", "split screen", "free-form"
  • Running Your App in Multi-Window Mode
  • Testing Your App's Multi-Window Support
  • +

    See Also

    +
      +
    1. Multi-Window + Playground sample app
    2. +
    @@ -29,8 +35,7 @@ page.keywords="multi-window", "android N", "split screen", "free-form"

    If you build your app with the N Preview SDK, you can configure how your app handles multi-window display. For example, you can specify your activity's - minimum allowable dimensions, preventing users from making the activity - window smaller than that size. You can also disable multi-window display for + minimum allowable dimensions. You can also disable multi-window display for your app, ensuring that the system only shows your app in full-screen mode.

    @@ -64,7 +69,9 @@ page.keywords="multi-window", "android N", "split screen", "free-form" -

    Figure 1. Two apps running side-by-side in split-screen mode. @@ -116,7 +123,12 @@ page.keywords="multi-window", "android N", "split screen", "free-form" Note: In multi-window mode, an app can be in the paused state and still be visible to the user. An app might need to continue its activities even while paused. For example, a video-playing app that is in - paused mode but is visible should continue showing its video. + paused mode but is visible should continue showing its video. For this + reason, we recommend that activities that play video not pause the + video in their {@link android.app.Activity#onPause onPause()} handlers. + Instead, they should pause video in {@link android.app.Activity#onStop + onStop()}, and resume playback in {@link android.app.Activity#onStart + onStart()}.

    @@ -173,7 +185,7 @@ page.keywords="multi-window", "android N", "split screen", "free-form"

    -android:resizableActivity=["true" | "false"]
    +android:resizeableActivity=["true" | "false"]
     

    @@ -193,7 +205,8 @@ android:resizableActivity=["true" | "false"]

    Set this attribute in your manifest's <activity> node to - indicate whether the activity supports picture-in-picture display. + indicate whether the activity supports picture-in-picture display. This + attribute is ignored if android:resizeableActivity is false.

    @@ -240,8 +253,9 @@ android:supportsPictureInPicture=["true" | "false"]
     
       
    Minimum height and minimum width for the activity in both split-screen - and freeform modes. The system does not permit the user to resize the - activity below the specified size in either dimension. + and freeform modes. If the user moves the divider in split-screen mode + to make an activity smaller than the specified minimum, the system crops + the activity to the size the user requests.
    @@ -423,7 +437,12 @@ android:supportsPictureInPicture=["true" | "false"]
    - New alias for {@link android.view.View#startDrag View.startDrag()}. + New alias for {@link android.view.View#startDrag View.startDrag()}. To + enable cross-activity drag and drop, pass the new flag + View.DRAG_FLAG_GLOBAL. If you need to give URI permissions to + the recipient activity, pass the new flags + View.DRAG_FLAG_GLOBAL_URI_READ or + View.DRAG_FLAG_GLOBAL_URI_WRITE, as appropriate.
    diff --git a/docs/html/preview/images/mw-splitscreen.png b/docs/html/preview/images/mw-splitscreen.png index cbbd4a882271f..bf719997635dc 100644 Binary files a/docs/html/preview/images/mw-splitscreen.png and b/docs/html/preview/images/mw-splitscreen.png differ diff --git a/docs/html/preview/images/mw-splitscreen_2x.png b/docs/html/preview/images/mw-splitscreen_2x.png new file mode 100644 index 0000000000000..38114db497aa3 Binary files /dev/null and b/docs/html/preview/images/mw-splitscreen_2x.png differ diff --git a/docs/image_sources/preview/features/mw-splitscreen-orig.png b/docs/image_sources/preview/features/mw-splitscreen-orig.png new file mode 100644 index 0000000000000..658c7f9c6487b Binary files /dev/null and b/docs/image_sources/preview/features/mw-splitscreen-orig.png differ