Android: Add export options to customize splash screen

This commit is contained in:
Anish Kumar
2026-01-07 14:05:27 +05:30
parent 755fa449c4
commit ee82a8f69d
8 changed files with 138 additions and 12 deletions
@@ -204,6 +204,8 @@ class Godot private constructor(val context: Context) {
internal var darkMode = false
private var backgroundColor: Int = Color.BLACK
private var orientation = Configuration.ORIENTATION_UNDEFINED
var disableGodotSplash = false
private set
internal var containerLayout: FrameLayout? = null
var renderView: GodotRenderView? = null
@@ -276,6 +278,8 @@ class Godot private constructor(val context: Context) {
newArgs.add(commandLine[i])
} else if (commandLine[i] == "--background_color") {
setWindowColor(commandLine[i + 1])
} else if (commandLine[i] == "--disable_godot_splash") {
disableGodotSplash = true
} else if (commandLine[i] == "--use_apk_expansion") {
useApkExpansion = true
} else if (hasExtra && commandLine[i] == "--apk_expansion_md5") {
Binary file not shown.

After

Width:  |  Height:  |  Size: 102 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB