remove statusbar when inAppBrowser is open in andriod

This commit is contained in:
Fiffi
2018-04-23 16:07:17 +00:00
parent b06ad8ed97
commit ec6af56fbd
2 changed files with 53 additions and 52 deletions
+1
View File
@@ -713,6 +713,7 @@ public class InAppBrowser extends CordovaPlugin {
dialog = new InAppBrowserDialog(cordova.getActivity(), android.R.style.Theme_NoTitleBar);
dialog.getWindow().getAttributes().windowAnimations = android.R.style.Animation_Dialog;
dialog.requestWindowFeature(Window.FEATURE_NO_TITLE);
dialog.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
dialog.setCancelable(true);
dialog.setInAppBroswer(getInAppBrowser());