hideSystemUI

private fun hideSystemUI()

Hides the navigation bar, status bar, and app bar, and displays the app in sticky immersive mode. With the deprecation of the system UI flags, this method hides the system UI via WindowCompat and WindowInsetsControllerCompat.