config.hideStatusBar = false;
を助けてください。あなたがinitializeForView
代わりのinitialize
を呼び出すときに実行されない文の下に
RelativeLayout layout = new RelativeLayout(this);
layout.addView(initializeForView(new Splash(), config));
setContentView(layout);
。
try {
requestWindowFeature(Window.FEATURE_NO_TITLE);
} catch (Exception ex) {
log("AndroidApplication", "Content already displayed, cannot request FEATURE_NO_TITLE", ex);
}
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
getWindow().clearFlags(WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN);
setContentView(graphics.getView(), createLayoutParams());
一つあなたは、それは複数の実装を示しAndoridManifest.xml
ファイルにGdxTheme
をクリックしてより多くの事、一つはこのandroid/res/values/styles.xml
の内側にあると私は何も起こりません、android/res/values/styles.xml
ファイルを編集する場合、別のは /Users/User_name/.android/build-cache/ea795811fd85c01c9ffd4c12717047945b0f2585/output/res/values-v11/values-v11.xml
です。
<resources>
<style name="GdxTheme" parent="android:Theme">
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:colorBackgroundCacheHint">@null</item>
<item name="android:windowAnimationStyle">@android:style/Animation</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:windowFullscreen">false</item>
</style>
</resources>
その後、私はそれが動作することをした後
/Users/User_name/.android/build-cache/ea795811fd85c01c9ffd4c12717047945b0f2585/output/res/values-v11/values-v11.xml
で同じ変更を行います。
私もbuildCache
./gradlew cleanBuildCache
とクリーンなプロジェクトをきれいにしようとしたが、変更は.xml
ファイルをキャッシュするために私のプロジェクトから反映されません。
ありがとうございました! –