Redeem Now
Read More
Read now

How to avoid the delay on splash-screen in android


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!!!

. . .


Add Your Comment

Be the first to comment.

Hire Us!
Brief us about your requirements and we'll get back to you.
Woo! Hooy!
We have just recieved your project brief and our expert will contact you shortly.
Send Again