How to remove url bar and buttons from a webview browser

-1

Hello, I'm new to kotlin and am using a Project in webview to mirror a site in the App.

asked by anonymous 29.09.2018 / 01:47

2 answers

-2

What I really needed was to access external links within the application itself without calling a browser to open it. I solved this problem with this Project . Thank you all for the help:)

    
04.12.2018 / 01:48
-2

Some factors can cause this behavior, one of them is the version of the API that is running your WebView, check the API version. But some settings can help resolve this behavior, such as:

    mWebView.webViewClient = WebViewClient()
    mWebView.settings.setAppCacheEnabled (true)
    mWebView.settings.javaScriptEnabled = true
    mWebView.settings.loadWithOverviewMode = true
    mWebView.settings.allowFileAccess = true
    mWebView.settings.allowContentAccess = true
    
05.11.2018 / 13:17