[null,null,["最后更新时间 (UTC):2025-07-27。"],[],[],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)"]]