From 48c6ec87cf91d252aa5fb5738e496b11319dd931 Mon Sep 17 00:00:00 2001 From: macdonst Date: Fri, 8 Jun 2012 13:03:12 -0400 Subject: [PATCH] CB-878: Splash screen in Android fullscreen mode showing not correct --- framework/src/org/apache/cordova/DroidGap.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/framework/src/org/apache/cordova/DroidGap.java b/framework/src/org/apache/cordova/DroidGap.java index ddd50a6e..c30a19bd 100755 --- a/framework/src/org/apache/cordova/DroidGap.java +++ b/framework/src/org/apache/cordova/DroidGap.java @@ -1432,6 +1432,8 @@ public class DroidGap extends Activity implements CordovaInterface { // Create and show the dialog splashDialog = new Dialog(this, android.R.style.Theme_Translucent_NoTitleBar); + splashDialog.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, + WindowManager.LayoutParams.FLAG_FULLSCREEN); splashDialog.setContentView(root); splashDialog.setCancelable(false); splashDialog.show();