title: Android Fullscreen Not Working: Gingerbread
body: <p>I am trying to make a fullscreen activity, but it doesn't seem to work in GingerBread, here is my code</p>
  
  <pre><code> @SuppressLint("NewApi")
  @Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_eyes);
     if (Build.VERSION.SDK_INT &gt;= Build.VERSION_CODES.ICE_CREAM_SANDWICH){
      ActionBar actionBar = getActionBar();
      actionBar.hide();
  
  }
  
     if (Build.VERSION.SDK_INT &lt;= Build.VERSION_CODES.GINGERBREAD){
         requestWindowFeature(Window.FEATURE_NO_TITLE);
         getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
     }
  </code></pre>
  
  <p>In Gingerbread there is still a title.</p>
  
  <p>Does anyone know how to fix this?</p>