アプリのスプラッシュ スクリーンを作成しようとしています。問題は、最初にデフォルトのタイトルバーで空のレイアウトをレンダリングしてから、画像にフェードインすることです。
これは私が持っているすべてですonCreate
super.onCreate(savedInstanceState);
this.requestWindowFeature(Window.FEATURE_NO_TITLE);
this.setContentView(R.layout.activity_splash);
アニメーションなしでアクティビティを切り替えて解決を試みた
ウィンドウ属性も設定しようとしました
WindowManager.LayoutParams lp = this.getWindow().getAttributes();
lp.windowAnimations = lp.windowAnimations | android.R.attr.windowDisablePreview;
this.getWindow().setAttributes(lp);
どちらも目に見える違いはありませんでした。