Full Screen is a native extension to offer users a true full screen experience in apps for Android. Using Android 4.0+ it’s possible to use true full screen in “lean mode”, which is used by apps like YouTube to expand the app right to the edges of the screen, hiding the status and navigation bars until the user next interacts. This is ideally suited to video or cut-scene content.

In Android 4.4+, however, you can now enter true full screem, fully interactive immersive mode. In this mode, the app will remain in true full screen until the user chooses otherwise; users can swipe down from the top of the screen to temporarily display the system UI. This extension can be used with Starling.


// Is this ANE supported?
// Is immersive mode supported?
// Hide system UI until user interacts
// Show system UI
// Extend your app underneath the system UI (Android 4.4+ only)
// Hide system UI and keep it hidden (Android 4.4+ only)
// Hide system UI until user swipes from top (Android 4.4+ only)

if (!AndroidFullScreen.immersiveMode()) {
    stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;

if (!AndroidFullScreen.hideSystemUI()) {
    stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;
Air Native Extension, Android . URL.