Android WebView Hardware Accelerated Keyboard Glitch -


when webview hardware accelerated, clicking on input field causes keyboard appear , html redrawed shifted , duplicated moment:

1) when soft keyboard appearing webview pans content bottom-left, againt normal position. causes short view-able duplication.

2) when changing keyboards (ex. abc->numbers) contents panned down keyboard height , normal position. causes short view-able duplication.

tested on 2 android 4.0 tablets, if hardware accelerations turned off no such glitches appear.

i failed found any information on this, has experienced same problem?

so found solutions:

  1. the entire webview content moves layout margin width, setting 0px fixes problem.

  2. android:windowsoftinputmode="adjustpan" webview activity.


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -