How to avoid the delay on splash-screen in android

Updated 30 April 2019


Hello folks, in this tutorial, we will simply know the exact technique to create a launch screen or can say the splash-screen.

We have read my tutorial about the splash-screen and we’ve found the developers usually add a Runnable with a fixed time as a delay to solve it. That solution was not a good solution for us, because we don’t want to force our app users to wait when there is nothing to load actually. So Let us show you a genuine solution that shows the splash screen while the app is loading.


Step 1: We have to design the splash screen layout as a drawable, we’ve used our splash screen logo as the fill bitmap,


Now, we need to define a theme with the windowBackground value as the previous drawable,

Then, the theme must be assigned to the Splash Screen activity,

Now we have achieved what we wanted to.


So we want to conclude that, With this technique, the splash screen is showed during the app initialization when it’s useful. And We can escape the splash activity that prevents delays associated with the activity creation. Keep the splash drawable as simple as possible, and you’ll like how fast it works.

Thanks for reading.

Stay Cool And Stay Updated!!!

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*

Be the first to comment.

Start a Project

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home