机器人的WebView硬件加速键盘毛刺毛刺、机器人、键盘、硬件加速

由网友(等星星落到我怀里)分享简介:当的WebView是硬件加速,点击输入框会导致键盘出现,HTML是redrawed移动并复制了一下:When WebView is hardware accelerated, clicking on input field causes keyboard to appear and html is redrawed...

当的WebView是硬件加速,点击输入框会导致键盘出现,HTML是redrawed移动并复制了一下:

When WebView is hardware accelerated, clicking on input field causes keyboard to appear and html is redrawed shifted and duplicated for a moment:

1)当软键盘显示的WebView平移其内容左下角,然后againt到正常位置。导致短期来看,能够重复。

1) When soft keyboard is appearing WebView pans its content to bottom-left, then againt to normal position. Causes short view-able duplication.

2),当更换键盘(例如ABC->号)的内容平移向下键盘高度,然后回到正常位置。导致短期来看,能够重复。

2) When changing keyboards (ex. abc->numbers) contents are panned down by keyboard height and then back to normal position. Causes short view-able duplication.

在测试了两款Android 4.0平板电脑,如果硬件加速关闭没有这样的毛刺出现。

Tested on two Android 4.0 tablets, if hardware accelerations is turned off no such glitches appear.

我没能发现的任意的信息,这一点,有没有人经历过同样的问题?

I failed to found any information on this, has anyone experienced same problem?

推荐答案

所以,我终于找到了一些解决方案:

So I finally found some solutions:

布局页边距整个的WebView内容的动作,因此将其设置为 0px 修复了这个问题。

安卓windowSoftInputMode =adjustPan的web视图的活动

阅读全文

相关推荐

最新文章