Immersive Mode - hide the navigation bar
Immersive mode means full screen mode where the navigation bar is also hidden. The user can bring back the bars by swiping near the edges. The required steps are: 1. Call setSystemUiVisibility with the immersive flags. This is done in Activity_WindowFocusChanged. 2. Get the full display size...

Immersive Mode with Notch area support
Original tutorial: Immersive Mode - hide the navigation bar (by @Erel ) So the above tutorial works for those devices which do not have a Notch. Devices with a notch will crop the bottom of the application content. Solution (Project attached): Add this code to GetRealSize sub of the original...
