title: Hiding title bar / notification bar when device is oriented to landscape
body: <p>I want my title bar to be hidden when I turn my device to landscape. I have seen the XML option to hide the title bar, and the following example of doing it programmatically:</p>
  
  <pre><code>//Remove title bar
  this.requestWindowFeature(Window.FEATURE_NO_TITLE);
  //Remove notification bar
  this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
  </code></pre>
  
  <p>BUT, I am using <code>configChanges</code> parameter for <code>orientation</code> and <code>screenSize</code>, so my activity is not re-created again when it is orienting to landscape (I'm doing this for some reasons). So I cannot use the above methods as these calls need to be made before <code>setContentView()</code>.</p>
  
  <p>So any ideas? Thank you.</p>