From: fred-boy Date: Fri, 13 Apr 2018 03:34:13 +0000 (+0700) Subject: Fullscreen on android X-Git-Tag: alpha0.1~5 X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=e74dcdefc780916a98fa50730905cc14699769f8;p=cavedroid.git Fullscreen on android --- 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); } }