content: package admin.example.covidfind;
  
  import androidx.appcompat.app.AppCompatActivity;
  
  import android.content.Intent;
  import android.os.Bundle;
  import android.os.Handler;
  
  public class SplashActivity extends AppCompatActivity {
  
      private final int SPLASH_DISPLAY_LENGTH = 3500;
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_splash);
  
  
          /* New Handler to start the Menu-Activity
           * and close this Splash-Screen after some seconds.*/
          new Handler().postDelayed(new Runnable(){
              @Override
              public void run() {
                  /* Create an Intent that will start the Menu-Activity. */
                  Intent mainIntent = new Intent(SplashActivity.this,MainActivity.class);
                  SplashActivity.this.startActivity(mainIntent);
                  SplashActivity.this.finish();
              }
          }, SPLASH_DISPLAY_LENGTH);
  
  
  
      }
  
  
      @Override
      protected void onPause() {
          super.onPause ();
  
  
          finish ();
  
      }
  }