public override bool OnCreateWindow(WebView view, bool isDialog, bool isUserGesture, Message resultMsg) { webViewPopup = new WebView(instance) { VerticalScrollBarEnabled = false, HorizontalScrollBarEnabled = false }; webViewPopup.SetWebViewClient(new LCWebViewClient()); webViewPopup.Settings.JavaScriptEnabled = true; webViewPopup.LayoutParameters = new LayoutParams(ViewGroup.LayoutParams.MatchParent, ViewGroup.LayoutParams.MatchParent); if (view != null) { view.AddView(webViewPopup); } WebView.WebViewTransport transport = (WebView.WebViewTransport)resultMsg.Obj; transport.WebView = webViewPopup; resultMsg.SendToTarget(); return(true); }