Home > Mobile >  Remove the Navigation Bar in Webview
Remove the Navigation Bar in Webview

Time:05-04

So I want to load only the body of the html and I want to remove the Navigation Bar. Is it possible to remove navigation bar of the website in WebView?

CodePudding user response:

You can use JSOUP, like this:

 document= Jsoup.connect(url).get();
 document.getElementsByClass("main-navigation").remove();

checkout this link

  • Related