While opening java file I first look blank white screen, and after that it appears me splash screen layout. I have java file as:
new Handler().postDelayed(new Runnable() {
@Override
public void run() {
//Task
finish();
}
}, ARG_SPLASH_TIME);
And in xml
file I simply put ImageView
and set android:src
value.
In manifest
file I open Splash activity in Launcher Mode.