Hi, I'm trying to zoom in on the web browser of my application, but I can’t, it just displays an image that has really increased (possibly displaying it at 100%)
this is how i got the webview to work.
In this activity I added
WebView mWebView = (WebView) findViewById(R.id.webview);
mWebView.getSettings().setJavaScriptEnabled(true);
mWebView.loadUrl("file:///android_asset/sitemap.png");
The image is in the resource folder and is called sitemap.png
The xml layout I used for web browsing,
<WebView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/webview"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
/>
I haven't added anything to the code yet. Can you tell me what doesn’t work, as they say that it displays the image perfectly, but I can’t zoom, which is the easiest way to solve this problem, since I nooby
Greetings
source
share