title: Not able to hide ActionBar (Android)
body: <p>i am trying to hide ActionBar in SplashScreenActivity but i am not able to hide. it always showing.</p>
  
  <p>i tried this: but not worked</p>
  
  <pre><code>protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          requestWindowFeature(Window.FEATURE_NO_TITLE);
          getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
              WindowManager.LayoutParams.FLAG_FULLSCREEN);
          setContentView(R.layout.activity_splash);
  </code></pre>
  
  <p>or </p>
  
  <pre><code>protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          getWindow().requestFeature(Window.FEATURE_ACTION_BAR);
          getActionBar().hide();
          setContentView(R.layout.activity_splash);
  </code></pre>
  
  <p>or</p>
  
  <p><strong>this unfortunately stop app</strong></p>
  
  <pre><code>    &lt;application
              android:name="info.androidhive.awesomewallpapers.app.AppController"
              android:allowBackup="true"
              android:icon="@drawable/ic_launcher"
              android:label="@string/app_name"
              android:theme="@style/FreeWallTheme"&gt;
              &lt;activity
                  android:name="info.androidhive.awesomewallpapers.SplashActivity"
                  android:label="@string/app_name"
                  android:screenOrientation="portrait"
  android:theme="@android:style/Theme.Translucent.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;
  </code></pre>