title: Android Hide Title Bar With Removing Appcompat Theme
body: <p>ManinActivity.java </p>
  
  <p>public class MainActivity extends ActionBarActivity {</p>
  
  <pre><code>@Override
  protected void onCreate(Bundle savedInstanceState) {
  
     // requestWindowFeature(Window.FEATURE_NO_TITLE);
  
      super.onCreate(savedInstanceState);
  
      setContentView(R.layout.activity_main);
  }
  </code></pre>
  
  <p>Manifest.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  </code></pre>
  
  <p></p>
  
  <pre><code>&lt;application
      android:allowBackup="true"
      android:icon="@mipmap/ic_launcher"
      android:label="@string/app_name"
       &gt;
      &lt;activity
          android:name=".MainActivity"
          android:label="@string/app_name"
          android:theme="@android:style/Theme.Light.NoTitleBar"
          &gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.MAIN" /&gt;
  
              &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
          &lt;/intent-filter&gt;
      &lt;/activity&gt;
  &lt;/application&gt;
  </code></pre>
  
  <p></p>
  
  <p>I tried </p>
  
  <pre><code>requestWindowFeature(Window.FEATURE_NO_TITLE); 
  </code></pre>
  
  <p>feature but it just won't work ! i don't able to find out why.</p>
  
  <p>but when i use </p>
  
  <pre><code>&lt;activity
          android:name=".MainActivity"
          android:label="@string/app_name"
          android:theme="@style/Theme.AppCompat.NoActionBar"&gt;
  </code></pre>
  
  <p>it just worked !!!   but i don't want to use Theme can i do it pragmatically ?</p>