0
Someone can tell me if I have how to set a position of a web page at the time of starting the App that has a Webviewer, example when opening the page it shows initially from the middle.
0
Someone can tell me if I have how to set a position of a web page at the time of starting the App that has a Webviewer, example when opening the page it shows initially from the middle.
0
Try the following code:
WebView webView = (WebView) findViewById(R.id.myWebView);
webView.getSettings().setDefaultZoom(ZoomDensity.FAR);
I picked up on the following topic: https://stackoverflow.com/questions/21931728/how-to-center-content-in-webview-android
Browser other questions tagged java android android-studio
You are not signed in. Login or sign up in order to post.
Failed as setDefaultZoom() was discontinued.
– jallisson jallis oliveira band