Android-SmartWebView
Android-SmartWebView copied to clipboard
Loading progress bar and zoom level
Hello
Is it possible to show page loading progress bar from bottom to top, if yes how? And also let me know is it possible to reduce page zoom level? For example same webpage in other apps and browsers showing little smaller than this app which sometime looks ugly, so if there is anyway to set zoom level in android studio, let me know where I can do that. And one more thing how to can I use one signal code with this app?
Thanks
Hi! Are you talking about setting the progress bar vertically instead of current horizontal?
And for custom zoom, you can use scale size:
asw_view.setInitialScale(1);
webSettings.setLoadWithOverviewMode(true);
webSettings.setUseWideViewPort(true);
Ref: https://stackoverflow.com/questions/2505393/set-zoom-for-webview
Regarding signal one, I haven't used it myself. I have been using firebase with this project from early on, but I'm sure it must be easy to implement too.