Answer the question
In order to leave comments, you need to log in
How to jump on anchor in WebView in Android?
There is a webview:
lawTextWebView = (WebView)findViewById(R.id.text_web_view);
lawTextWebView.setBackgroundColor(Color.WHITE);
lawTextWebView.loadDataWithBaseURL(null, "<h1 name=\"anchor1\">заголовок 1</h1><h2 name=\"anchor2\"> заголовок два</h2>", null, "utf-8", null);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question