title: How to hide the title bar through code in android
body: <p>I want to hide the title bar using code for some of my activities. </p>
  
  <p>I have used the following code</p>
  
  <pre><code>this.requestWindowFeature(Window.FEATURE_NO_TITLE);
  //Remove notification bar
  this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
                            WindowManager.LayoutParams.FLAG_FULLSCREEN);
  </code></pre>
  
  <p>the second line is working for full screen but it shows the application title. Lets say for my splash screen i want to hide my title. The 1st line of code crashes my application. Please help me if we can do it using code. </p>
  
  <p>thanks. </p>