From 8f6a9b2094ab9d7477f888b2a711538e38aae8a5 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sun, 15 Mar 2020 19:07:59 +0800 Subject: [PATCH] bugfix --- kivyblocks/widgetExt/androidwebview.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kivyblocks/widgetExt/androidwebview.py b/kivyblocks/widgetExt/androidwebview.py index 5bdb82d..deb46ce 100755 --- a/kivyblocks/widgetExt/androidwebview.py +++ b/kivyblocks/widgetExt/androidwebview.py @@ -29,6 +29,7 @@ class AWebView(Widget): wvc = WebViewClient() self.webview.setWebViewClient(wvc) activity.setContentView(self.webview) + self.add_widget(self.webview) if self.baseUrl is not None: self.webview.loadUrl(self.baseUrl) print('go to the url=',self.baseUrl)