TheFinestArtist / FinestWebView-Android

Beautiful and customizable Android Activity that shows web pages within an app.
https://finestwebview.web.app
2.32k stars 531 forks source link

Unable to fit entire website content in webview when first initialized? #116

Open imsocb opened 7 years ago

imsocb commented 7 years ago

Hi as the title has stated I'm trying to fit entire webpage shown in the code below in webview however, it only show part of the webpage when first initialize and I have to manually zoom out in order to scale the webpage to see the entire webpage content. Tried .webViewLoadWithOverviewMode(true).webViewUseWideViewPort(true) to no avail. Please help Thank you!

String url = "http://livedemo.mbahcoding.com/ajax_crud_datatables_images_upload";
                new FinestWebView.Builder(MainActivity.this)
                        .webViewLoadWithOverviewMode(true)
                        .webViewUseWideViewPort(true)
                        .webViewBuiltInZoomControls(true).show(url);