开发者

Android - Soft keyboard for TextField inside a webview

开发者 https://www.devze.com 2023-01-30 06:13 出处:网络
Usually in landscape mode an E开发者_JAVA百科ditText will open the IME in full screen mode, but for an textfield inside a webview (loaded as a HTML content) it doesn\'t and it pushes the existing view

Usually in landscape mode an E开发者_JAVA百科ditText will open the IME in full screen mode, but for an textfield inside a webview (loaded as a HTML content) it doesn't and it pushes the existing view upwards. Tried using 'adjustpan' options but to no avail. Is it possible to change the IME in this scenario? Thanks in advance...


'adjustPan' might not work unless you specify the option for all of the views in the tree, not just the activity. Take a look at this answer for more info: https://stackoverflow.com/a/7183626/758458

0

精彩评论

暂无评论...
验证码 换一张
取 消