DEADSOFTWARE

Fullscreen on android
authorfred-boy <fred-boy@protonmail.com>
Fri, 13 Apr 2018 03:34:13 +0000 (10:34 +0700)
committerfred-boy <fred-boy@protonmail.com>
Fri, 13 Apr 2018 03:34:13 +0000 (10:34 +0700)
android/src/ru/deadsoftware/cavecraft/AndroidLauncher.java

index aac1e66e1c51cc7e88c39c81bc7ee8f72a81da6b..38dfb88b1820cf7394f3ba4ae41f336ab8324a94 100644 (file)
@@ -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);
        }
 }