navigational software buttons in android 4.0 and above

How to hide the navigational bars while playing games on the nexus 7 or any other device which boasts on-screen navigational keys ??????. How can i gain access to the in-game menu once i do this. The software buttons always remain there and restrict me fro full screen experience.