Remove the Navigation Bar in Webview

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?

1 answer

  • answered 2022-05-04 09:11 Mahdi Iranmanesh

    You can use JSOUP, like this:

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

    checkout this link

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum