mirror of
https://github.com/apache/cordova-android.git
synced 2025-03-16 08:21:04 +08:00
CB-878: Splash screen in Android fullscreen mode showing not correct
This commit is contained in:
parent
d3e24b0c48
commit
48c6ec87cf
@ -1432,6 +1432,8 @@ public class DroidGap extends Activity implements CordovaInterface {
|
|||||||
|
|
||||||
// Create and show the dialog
|
// Create and show the dialog
|
||||||
splashDialog = new Dialog(this, android.R.style.Theme_Translucent_NoTitleBar);
|
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.setContentView(root);
|
||||||
splashDialog.setCancelable(false);
|
splashDialog.setCancelable(false);
|
||||||
splashDialog.show();
|
splashDialog.show();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user