add debug flag to be uncommmeted
This commit is contained in:
parent
81f421b9c0
commit
1c28973c2f
1 changed files with 4 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue