add debug flag to be uncommmeted

This commit is contained in:
Alexander Mahr 2025-07-18 08:40:57 +02:00
parent 81f421b9c0
commit 1c28973c2f

View file

@ -55,6 +55,10 @@ public class AppActivity extends Activity {
// we create a webview (there is also setwebviewclient-vs-setwebchromeclient
WebViewClient myWebViewClient= new WebViewClient();
myWebView.setWebViewClient(myWebViewClient);
// uncomment to enable webview debug
//myWebView.setWebContentsDebuggingEnabled(true);
// to setup settings
WebSettings myWebSettings = myWebView.getSettings();
myWebSettings.setBuiltInZoomControls(true);