Is there a way to programmatically scroll to a HTML element that is displayed in a WebView?
The WebView API only provides a scrollTo(x,y) method, but I can't find a way to determine the position of a displayed element.
Solution
Using Javascript:
webView.getSettings().setJavaScriptEnabled(true); webView.loadUrl("javascript:document.getElementById('id').scrollIntoView();");