title: Full Screen Theme for AppCompat
body: <p>I would like to know how can I apply full screen theme ( no title bar + no actionbar ) to an activity. I am using AppCompat library from support package v7. </p>
  
  <p>I've tried to applied <code>android:theme="@android:style/Theme.NoTitleBar.Fullscreen"</code> to my specific activity but it crashed. I think it's because my application theme is like this.</p>
  
  <pre><code>&lt;style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"&gt;
  </code></pre>
  
  <p>I also have tried this </p>
  
  <pre><code>getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
              WindowManager.LayoutParams.FLAG_FULLSCREEN);
  </code></pre>
  
  <p>which only hides title bar but not the action bar. 
  My current workaround is that hiding the actionbar with </p>
  
  <pre><code>getSupportActionBar().hide();
  </code></pre>