1

Webview in scrollview focus to last child is not working

view story
linux-howto

http://stackoverflow.com – Although it is not good practicce to place a webview in scroll view but As per my client requirement I have a webview in scrollview .I am adding webviews dynamically to linear layout(scrollview child).When new Item is added to linear layout I wanna focus to that particular view.I have tried the following when a webview is added to LinearLayout 1) Measure the scrollView Height and scroll to that particular Co ordinates like as scrollView.postDelayed(new Runnable() { @Override public void run() { scrollView.scrollTo(0, scrollViewHeight); } }, 500) (HowTos)