Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android WebView scroll down

Is there a method or something to scroll de WebView at the bottom of the page.. I am using a WebView in a chat client as chatboard, and I want to scroll the page down as the user writes some text...

Thank you very much.

like image 445
Cata Avatar asked Jan 13 '11 12:01

Cata


1 Answers

At Webview's reference.

public boolean pageDown (boolean bottom)

Since: API Level 1 Scroll the contents of the view down by half the page size.

Parameters: bottom true to jump to bottom of page.

Returns true if the page was scrolled

Does this work for you?

like image 186
mdelolmo Avatar answered Oct 22 '22 13:10

mdelolmo