title: No splash activity is showing
body: <p>I have built a <code>SplashActivity</code> to be displayed for <code>5500</code> ms before the <code>MainActivity</code>. But when the app runs, it just shows a white screen for 2s, then jumps to the <code>MainActivity</code>. No error is being displayed, but there is no splash screen design or animation or anything else.</p>
  
  <p>Here is the activity in <code>AndroidManifest.xml</code>:</p>
  
  <pre><code>&lt;application
     android:allowBackup="true"
     android:icon="@drawable/ic_launcher"
     android:label="@string/app_name"
     android:theme="@style/AppTheme"&gt;
     &lt;activity android:name=".SplashActivity"&gt;&lt;/activity&gt;
     &lt;activity
        android:name=".MainActivity"
        android:label="@string/app_name"
        android:launchMode="singleTask"&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>This is my <code>SplashActivity</code>:</p>
  
  <pre><code>import android.content.Intent;
  import android.os.Handler;
  import android.support.v7.app.AppCompatActivity;
  import android.os.Bundle;
  import android.view.animation.Animation;
  import android.view.animation.AnimationUtils;
  import android.widget.TextView;
  
  public class SplashActivity extends AppCompatActivity {
      TextView appName;
      Animation frombottom;
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_splash);
  
          Handler handler = new Handler();
          handler.postDelayed(new Runnable() {
              @Override
              public void run() {
                  Intent intent = new Intent(SplashActivity.this, MainActivity.class);
                  startActivity(intent);
                  finish();
              }
          }, 5500);
  
          appName = (TextView) findViewById(R.id.appName);
          frombottom = AnimationUtils.loadAnimation(this, R.anim.frombottom);
          appName.setAnimation(frombottom);
      }
  }
  </code></pre>
  
  <p>What could be the possible problem and the solution to that? Thanks in advance for your suggestion.</p>