title: Hide status bar in Android 2 but keep Action Bar in Android 3/4
body: <p>I have been trying out various ways but with no success. I am doing a full screen painting app for kids. But it can't go full screen without the following line in Manifest.xml:</p>
  
  <pre><code>android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
  </code></pre>
  
  <p>But this statement causes a lot of behaviour issues in Android 3/4 phone/tablets. Either the action bar disappeared, or I got full screen without any access to menu. </p>
  
  <p>Removing the line and with the following code:</p>
  
  <pre><code>requestWindowFeature(Window.FEATURE_NO_TITLE);        
  getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); 
  </code></pre>
  
  <p>Works for Android 3/4 phones, but will have status bar on Android 2!</p>
  
  <p>How can I remove the status bar on Android 2 but still support Android 3/4? Thanks!</p>