title: Android launch other activity before launching splash activity
body: <p>I'm developing an application in android, where the app starts with a splash screen. I declared the splash activity as launcher activity in the manifest, but when I start my app, the launcher always shows up a grey activity with no content instead of the actionbar with the title of my app. The splash activity always comes up after one or two seconds.</p>
  
  <p>Can anyone explain this behavior to me?</p>
  
  <p>Here's my manifest:</p>
  
  <pre><code> &lt;application
      android:allowBackup="true"
      android:hardwareAccelerated="true"
      android:icon="@drawable/ic_launcher"
      android:label="@string/app_name"
      android:logo="@drawable/navigation"
      android:theme="@style/Theme.Sherlock.Light" &gt;
      &lt;activity
          android:name="de.test.basic.SplashActivity"
          android:launchMode="singleTask"
          android:screenOrientation="portrait" &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>And here's the onCreate() method of the SplashActivity:</p>
  
  <pre><code>@Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
  
      setContentView(R.layout.spash_screen);
      img = (ImageView) findViewById(R.id.imageView1);
      img.setImageResource(R.drawable.splashscreen);
      getActionbar().hide();
      slideMenu.setSlidingEnabled(false);
  
      new Handler().postDelayed(new Runnable() {
          @Override
          public void run() {
              startActivity(new Intent(SplashActivity.this,
                      OtherActivity.class));
              overridePendingTransition(android.R.anim.fade_in,
                      android.R.anim.fade_out);
              finish();
          }
      }, SPLASH_DELAY);
  
  }
  </code></pre>
  
  <p>Thanks for any help :)</p>