Stay organized with collections
Save and categorize content based on your preferences.
You can use immersive mode to hide the system bars for a full-screen
experience. This is useful for enabling users to enjoy a fully immersive
experience for video, games, images, and books, and to avoid accidental exits
during a game.
Takeaways
Provide an intuitive way for users to display UI–for example, tapping on the
screen during video playback displays video playback controls and system bars.
Never permanently hide system bars on personal devices. You cannot permanently
hide system bars in your app unless for an Android Enterprise
deployment, so your designs should account for them to provide the optimal
experience. Read more about designing for system bars.
Provide an overlay or scrim for overlaying text and controls.
Combine immersive mode with other features, such as picture-in-picture (PiP)
and Chromecast, to continue the experience.
Immersive mode causes users to lose easy access to system navigation, so use
it only when the benefit to the user experience goes beyond simply using extra
screen space.
Fullscreen experiences aren't appropriate for all content. Consider when to
help a user avoid accidental exits from frequent taps, like a game, or have an
uninterrupted view to enjoy videos or books.
Be mindful of how often users jump in and out of apps to check notifications, to
conduct impromptu searches, or to take other actions. Immersive mode causes
users to lose easy access to system navigation, so use it only when the benefit
to the user experience goes beyond simply using extra screen space.
Fullscreen experiences aren't appropriate for all content. Consider when to help
a user avoid accidental exits from frequent taps, like a game, or have an
uninterrupted view to enjoy videos or books.
To implement immersive mode, you can use WindowInsetsControllerCompat to hide
both the status bar and the navigation bar–or just one of them. For details,
refer to the Hide system bars developer guide.
The following sections describe examples of immersive mode use cases.
Video 1: Video playback - tapping to reveal relevant video player UI
Figure 1: Hidden status and navigation bars can help the reader fully engage with books
Figure 2: Take advantage of immersive mode in game apps to prevent accidental system UI taps
Figure 3: Full-screen imagery increases the immersion of a video call
Figure 4: Presentation in full screen allows for audience immersion
Figure 5: Wayfinding directory kiosk on a non-personal device (DPC or enterprise deployment app)
Related services & Technologies
Android has several features that work well to enhance your user's content
experience. For more check out:
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2023-05-08 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-05-08 UTC."],[],[],null,["# Immersive content\n\nYou can use [immersive mode](/develop/ui/views/layout/immersive) to hide the system bars for a full-screen\nexperience. This is useful for enabling users to enjoy a fully immersive\nexperience for video, games, images, and books, and to avoid accidental exits\nduring a game.\n\nTakeaways\n---------\n\n- Provide an intuitive way for users to display UI--for example, tapping on the\n screen during video playback displays video playback controls and system bars.\n\n- Never permanently hide system bars on personal devices. You cannot permanently\n hide system bars in your app unless for an [Android Enterprise](https://www.android.com/enterprise/management/)\n deployment, so your designs should account for them to provide the optimal\n experience. Read more about [designing for system bars](/design/ui/mobile/guides/foundations/system-bars).\n\n- Provide an overlay or scrim for overlaying text and controls.\n\n- Combine immersive mode with other features, such as picture-in-picture (PiP)\n and Chromecast, to continue the experience.\n\n- Immersive mode causes users to lose easy access to system navigation, so use\n it only when the benefit to the user experience goes beyond simply using extra\n screen space.\n\n- Fullscreen experiences aren't appropriate for all content. Consider when to\n help a user avoid accidental exits from frequent taps, like a game, or have an\n uninterrupted view to enjoy videos or books.\n\nBe mindful of how often users jump in and out of apps to check notifications, to\nconduct impromptu searches, or to take other actions. Immersive mode causes\nusers to lose easy access to system navigation, so use it only when the benefit\nto the user experience goes beyond simply using extra screen space.\n\nFullscreen experiences aren't appropriate for all content. Consider when to help\na user avoid accidental exits from frequent taps, like a game, or have an\nuninterrupted view to enjoy videos or books.\n\nTo implement immersive mode, you can use `WindowInsetsControllerCompat` to hide\nboth the status bar and the navigation bar--or just one of them. For details,\nrefer to the [Hide system bars developer guide](/develop/ui/views/layout/immersive).\n\nThe following sections describe examples of immersive mode use cases. \nAlas, your browser doesn't support HTML5 video. That's OK! You can still [download the video](/static/images/design/ui/mobile/immersive-mode-tap-to-reveal.mp4) and watch it with a video player. **Video 1:** Video playback - tapping to reveal relevant video player UI\n\n\u003cbr /\u003e\n\n**Figure 1:** Hidden status and navigation bars can help the reader fully engage with books\n\n\u003cbr /\u003e\n\n**Figure 2:** Take advantage of immersive mode in game apps to prevent accidental system UI taps\n\n\u003cbr /\u003e\n\n**Figure 3:** Full-screen imagery increases the immersion of a video call\n\n\u003cbr /\u003e\n\n**Figure 4:** Presentation in full screen allows for audience immersion\n\n\u003cbr /\u003e\n\n**Figure 5:** Wayfinding directory kiosk on a non-personal device ([DPC](/work/dpc/build-dpc) or enterprise deployment app)\n\nRelated services \\& Technologies\n--------------------------------\n\nAndroid has several features that work well to enhance your user's content\nexperience. For more check out:\n\n- [Exoplayer](/guide/topics/media/exoplayer)\n- [Picture in picture](/design/ui/mobile/guides/home-screen/picture-in-picture)\n- [Chromecast](https://developers.google.com/cast/docs/ux_guidelines)"]]