Using a splash screen across activities
===

I've a login screen as my first activities. It has an `AsyncTask` object for login verification using web services. It loads the main activity which has tabs as activities. The main activity then loads my first tab which also has an `AsyncTask` object to load some data. I want to show a splash screen from the start of login verification (`onPreExecute` of LoginActivity) till the FirstActivity loads its data (`onPostExecute` of FirstActivity). I've started implementing it but I was denied the desired result. The splash screen goes away after the `onPostExecute` of LoginActivity and the login screen reappears for a split second. After that my FirstActivity loads without a showing splash screen. 

I've had hard time understanding a couple of things. 

Firstly, why does login screen reappear even after I call my main activity in its `onPostExecute`? Perhaps, I don't understand the execution on `AsyncTask` correctly. 

Secondly, how do I continue showing the splash screen across these activities? 

I.m aware that this sounds quite complex. But I've spent a lot of time to figure this out on my own and I haven't succeeded yet. Any kind of help is appreciated. Thank you! 