Add boot splash for the Godot Editor
This commit is contained in:
parent
4d8b9be48d
commit
4110d48b63
3 changed files with 10 additions and 6 deletions
|
@ -1422,7 +1422,7 @@ Error Main::setup2(Thread::ID p_main_tid_override) {
|
||||||
|
|
||||||
MAIN_PRINT("Main: Setup Logo");
|
MAIN_PRINT("Main: Setup Logo");
|
||||||
|
|
||||||
#if defined(JAVASCRIPT_ENABLED) || defined(ANDROID_ENABLED)
|
#if !defined(TOOLS_ENABLED) && (defined(JAVASCRIPT_ENABLED) || defined(ANDROID_ENABLED))
|
||||||
bool show_logo = false;
|
bool show_logo = false;
|
||||||
#else
|
#else
|
||||||
bool show_logo = true;
|
bool show_logo = true;
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
android:icon="@mipmap/icon"
|
android:icon="@mipmap/icon"
|
||||||
android:label="@string/godot_editor_name_string"
|
android:label="@string/godot_editor_name_string"
|
||||||
tools:ignore="GoogleAppIndexingWarning"
|
tools:ignore="GoogleAppIndexingWarning"
|
||||||
|
android:theme="@style/GodotEditorTheme"
|
||||||
android:requestLegacyExternalStorage="true">
|
android:requestLegacyExternalStorage="true">
|
||||||
|
|
||||||
<activity
|
<activity
|
||||||
|
@ -35,7 +36,6 @@
|
||||||
android:launchMode="singleTask"
|
android:launchMode="singleTask"
|
||||||
android:screenOrientation="userLandscape"
|
android:screenOrientation="userLandscape"
|
||||||
android:exported="true"
|
android:exported="true"
|
||||||
android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"
|
|
||||||
android:process=":GodotProjectManager">
|
android:process=":GodotProjectManager">
|
||||||
|
|
||||||
<layout android:defaultHeight="@dimen/editor_default_window_height"
|
<layout android:defaultHeight="@dimen/editor_default_window_height"
|
||||||
|
@ -53,8 +53,7 @@
|
||||||
android:process=":GodotEditor"
|
android:process=":GodotEditor"
|
||||||
android:launchMode="singleTask"
|
android:launchMode="singleTask"
|
||||||
android:screenOrientation="userLandscape"
|
android:screenOrientation="userLandscape"
|
||||||
android:exported="false"
|
android:exported="false">
|
||||||
android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen">
|
|
||||||
<layout android:defaultHeight="@dimen/editor_default_window_height"
|
<layout android:defaultHeight="@dimen/editor_default_window_height"
|
||||||
android:defaultWidth="@dimen/editor_default_window_width" />
|
android:defaultWidth="@dimen/editor_default_window_width" />
|
||||||
</activity>
|
</activity>
|
||||||
|
@ -66,8 +65,7 @@
|
||||||
android:process=":GodotGame"
|
android:process=":GodotGame"
|
||||||
android:launchMode="singleTask"
|
android:launchMode="singleTask"
|
||||||
android:exported="false"
|
android:exported="false"
|
||||||
android:screenOrientation="userLandscape"
|
android:screenOrientation="userLandscape">
|
||||||
android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen">
|
|
||||||
<layout android:defaultHeight="@dimen/editor_default_window_height"
|
<layout android:defaultHeight="@dimen/editor_default_window_height"
|
||||||
android:defaultWidth="@dimen/editor_default_window_width" />
|
android:defaultWidth="@dimen/editor_default_window_width" />
|
||||||
</activity>
|
</activity>
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources>
|
||||||
|
|
||||||
|
<style name="GodotEditorTheme" parent="@android:style/Theme.Black.NoTitleBar.Fullscreen">
|
||||||
|
</style>
|
||||||
|
</resources>
|
Loading…
Reference in a new issue