We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2fff78 commit 34f0c40Copy full SHA for 34f0c40
pythonforandroid/bootstraps/webview/build/src/main/java/org/kivy/android/PythonActivity.java
@@ -240,6 +240,16 @@ public void run() {
240
mActivity.runOnUiThread(new LoadUrl(url));
241
}
242
243
+ public static void enableZoom() {
244
+ mActivity.runOnUiThread(new Runnable() {
245
+ @Override
246
+ public void run() {
247
+ mWebView.getSettings().setBuiltInZoomControls(true);
248
+ mWebView.getSettings().setDisplayZoomControls(false);
249
+ }
250
+ });
251
252
+
253
public static ViewGroup getLayout() {
254
return mLayout;
255
0 commit comments