Splash_screen

Splash_screen
public class splash extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_splash);

        new Thread(){
            public void run(){
                try{
                    sleep(3000);
                    Intent i=new Intent(splash.this,login.class);
                    startActivity(i);
                    finish();
                }

                catch (InterruptedException e){
                    e.printStackTrace();
                }
            }
        }.start();
    }
}

Comments

Popular posts from this blog

Seaborn

profile fragment firebase ie image and information vadu page update tay firebase ma

Payment ideal