title: SplashScreen is not working in android studio
body: <p>I am using android studio 2.2.3. I included a splash screen in my program.but it is not working. Splash screen activity does not showing .it directly enter in to the homepage.`
  <strong>Manifest file</strong></p>
  
  <p></p>
  
  <pre><code>&lt;application
      android:allowBackup="true"
      android:icon="@mipmap/ic_launcher"
      android:label="@string/app_name"
      android:supportsRtl="true"
      android:theme="@style/AppTheme"&gt;
      &lt;activity android:name=".SplashScreen"&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;activity android:name=".MainActivity"&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;activity android:name=".SignUpActivity" /&gt;
  &lt;/application&gt;
  </code></pre>
  
  <p>`</p>
  
  <p><strong>SplashScreen activity</strong> </p>
  
  <pre><code>import android.content.Intent;
  
  import android.os.Handler;
  
  import android.support.v7.app.AppCompatActivity;
  
  import android.os.Bundle;
  
  public class SplashScreen extends AppCompatActivity {
  
  private final int SPLASH_DISPLAY_LENGTH = 3000;
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_splash_screen);
  
      new Handler().postDelayed(new Runnable(){
          @Override
          public void run() {
              /* Create an Intent that will start the Menu-Activity. */
              Intent mainIntent = new Intent(SplashScreen.this,MainActivity.class);
              SplashScreen.this.startActivity(mainIntent);
              SplashScreen.this.finish();
          }
      }, SPLASH_DISPLAY_LENGTH);
  }
  }
  </code></pre>