机器人的WebView向下滚动 [英] Android WebView scroll down
本文介绍了机器人的WebView向下滚动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有一种方法或一些滚动德的WebView在页面的底部.. 我使用的聊天客户端作为chatboard一个web视图,我想滚动页面下用户写入一些文本......
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...
非常感谢你。
推荐答案
目前的 web视图的参考。
公共布尔下页(布尔底部)
public boolean pageDown (boolean bottom)
自:API级别1滚动视图的内容减少了一半,页面大小
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.
返回的真
如果页面已滚动
为你工作的呢?
这篇关于机器人的WebView向下滚动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文