summaryrefslogtreecommitdiff
path: root/platform/android/java/app/src/com
diff options
context:
space:
mode:
authorFredia Huya-Kouadio <fhuyakou@gmail.com>2020-08-19 15:38:50 -0700
committerFredia Huya-Kouadio <fhuyakou@gmail.com>2020-08-19 16:16:37 -0700
commit2717891141446df653648d38745ec9de977415f0 (patch)
tree7fefcd6cdbe32683368780fbf1280193ea217a5a /platform/android/java/app/src/com
parenteb9cbdc3692bdc77b6114ceb771f72fd6cd91a73 (diff)
Fix splash screen loading on Android
Diffstat (limited to 'platform/android/java/app/src/com')
-rw-r--r--platform/android/java/app/src/com/godot/game/GodotApp.java7
1 files changed, 7 insertions, 0 deletions
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);
+ }
}