how do you remove the navigation bar on Android?

Posted by Thierry-Dimitri Roy on Stack Overflow See other posts from Stack Overflow or by Thierry-Dimitri Roy
Published on 2012-03-19T15:29:54Z Indexed on 2012/06/06 4:40 UTC
Read the original article Hit count: 151

Filed under:

When I listen to a YouTube video fullscreen in landscape on my Galaxy Nexus, the navigation bar on the right disapear after a few seconds (the bar which contains the "back", "home" and "recent apps" buttons ).

I want to do the same thing when a user watch a video in my app. What is the code to hide the navigation bar?


[UPDATE] Here is the bar I want to hide. Not the title bar, nor the action bar. The navigation bar. (the bar which contains the "back", "home" and "recent apps" buttons ). I also don't want to "dim" the buttons. I'm looking into removing the bar entirely (like the YouTube app does when you plan a video fullscreen in landscape mode)

enter image description here

© Stack Overflow or respective owner

Related posts about android