Window
Introduction
This sample shows how to create a window and display an app in a floating window or split-screen mode.
How to Use
-
Start the sample app, touch a video to play it, and touch the video again to pause the playback.
-
On the top of the app, slide down to display the window.
-
Touch the split-screen icon to display the app in split-screen mode. Touch the icon again to exit the split-screen mode.

- Touch the floating icon to display the app in a floating window. Touch the icon again to cancel the floating display.

- Touch the minus sign icon to minimize the app. Touch the app to display it again.

- Touch the close icon to close the app.
Constraints
-
This sample can only be run on standard-system devices.
-
This sample demonstrates the stage model, which supports only API version 9.
-
The DevEco Studio version used in this sample must be 3.0.0.901 or later.