I am trying to create a splash screen for my app. The problem is it first renders empty layout with default title bar and then fades in my image.
This is all I have onCreate
super.onCreate(savedInstanceState);
this.requestWindowFeature(Window.FEATURE_NO_TITLE);
this.setContentView(R.layout.activity_splash);
Attempted solution from switching activities without animation
Also tried to set window attributes
WindowManager.LayoutParams lp = this.getWindow().getAttributes();
lp.windowAnimations = lp.windowAnimations | android.R.attr.windowDisablePreview;
this.getWindow().setAttributes(lp);
neither made any visible difference.