Search code examples
androidfullscreenandroid-4.0-ice-cream-sandwich

Hide ICS back home task switcher buttons


Just wondering how to hide the ICS back/home/etc software buttons programmatically. Just like the Youtube apps does when playing a video. I want to hide them while a video is playing, but bring them up if the user taps the screen.

I can't seem to find it anywhere on the web, or in Google's documentation.


Solution

  • try to setup a Full screen window with flag SYSTEM_UI_FLAG_HIDE_NAVIGATION