title: Hide android status bar for my application on Android 4.0.4?
body: <p>I tried with the following code to hide status bar but it doesn't work..   </p>
  
  <pre><code>getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_HIDE_NAVIGATION);
  </code></pre>
  
  <p>and to dim the bar i used </p>
  
  <pre><code> getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LOW_PROFILE);
  </code></pre>
  
  <p>and it works.. Does any one know how to hide status bar on Android 4.0.4 device??  </p>