From 2717891141446df653648d38745ec9de977415f0 Mon Sep 17 00:00:00 2001 From: Fredia Huya-Kouadio Date: Wed, 19 Aug 2020 15:38:50 -0700 Subject: Fix splash screen loading on Android --- platform/android/java/app/src/com/godot/game/GodotApp.java | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'platform/android/java/app/src/com') diff --git a/platform/android/java/app/src/com/godot/game/GodotApp.java b/platform/android/java/app/src/com/godot/game/GodotApp.java index 1af5950cbe..51df70969e 100644 --- a/platform/android/java/app/src/com/godot/game/GodotApp.java +++ b/platform/android/java/app/src/com/godot/game/GodotApp.java @@ -32,9 +32,16 @@ package com.godot.game; import org.godotengine.godot.FullScreenGodotApp; +import android.os.Bundle; + /** * Template activity for Godot Android custom builds. * Feel free to extend and modify this class for your custom logic. */ public class GodotApp extends FullScreenGodotApp { + @Override + public void onCreate(Bundle savedInstanceState) { + setTheme(R.style.GodotAppMainTheme); + super.onCreate(savedInstanceState); + } } -- cgit v1.2.3