Question : how to make splash screen in android studio
Answered by : thoughtless-tiger-c3x1ygl2w4x3
There are 2 common methods of implementing splash screens
and will find the right way:
1: Using Timers (the bad)
2: Using a Launcher Theme (The Right way)
you can check this link where you can learn to implement both splash screen
https://medium.com/geekculture/implementing-the-perfect-splash-screen-in-android-295de045a8dc
Source : https://medium.com/geekculture/implementing-the-perfect-splash-screen-in-android-295de045a8dc | Last Update : Wed, 18 Aug 21
Question : splash screen on android studio
Answered by : abuzar-zafar
/****** Create Thread that will sleep for 5 seconds****/ Thread background = new Thread() { public void run() { try { // Thread will sleep for 5 seconds sleep(5*1000); // After 5 seconds redirect to another intent Intent i=new Intent(getBaseContext(),FirstScreen.class); startActivity(i); //Remove activity finish(); } catch (Exception e) { } } }; // start thread background.start();
Source : https://abhiandroid.com/programming/splashscreen | Last Update : Thu, 09 Jun 22