java - How to autoscroll a WebView HTML File? -


i want able autoscroll page. below method.

public class mainactivity extends activity { @override public void oncreate(bundle savedinstancestate) {     super.oncreate(savedinstancestate);     setcontentview(r.layout.activity_main);     webview wv = (webview) findviewbyid(r.id.webview1);     wv.loadurl("file:///android_asset/1.html");   } } 

edit: don't want auto scrolled way bottom or top want autoscroll speed goes bottom slowly.

you use scrollview enclosing webview in main layout, , scroll programmatically.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -