From e74dcdefc780916a98fa50730905cc14699769f8 Mon Sep 17 00:00:00 2001 From: fred-boy Date: Fri, 13 Apr 2018 10:34:13 +0700 Subject: [PATCH] Fullscreen on android --- android/src/ru/deadsoftware/cavecraft/AndroidLauncher.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/android/src/ru/deadsoftware/cavecraft/AndroidLauncher.java b/android/src/ru/deadsoftware/cavecraft/AndroidLauncher.java index aac1e66..38dfb88 100644 --- a/android/src/ru/deadsoftware/cavecraft/AndroidLauncher.java +++ b/android/src/ru/deadsoftware/cavecraft/AndroidLauncher.java @@ -11,6 +11,8 @@ public class AndroidLauncher extends AndroidApplication { protected void onCreate (Bundle savedInstanceState) { super.onCreate(savedInstanceState); AndroidApplicationConfiguration config = new AndroidApplicationConfiguration(); + config.hideStatusBar = true; + config.useImmersiveMode = true; initialize(new CaveGame(true), config); } } -- 2.29.2