简体   繁体   English

Android中WebView中的文本字段被键盘隐藏

[英]Textfield in WebView in an Android is hidden by the keyboard

When I touch the html textfield, the soft keyboard pops up, and hides the textfield, so that I was not able to see what I had typed. 当我触摸html文本字段时,软键盘会弹出,并隐藏该文本字段,因此我看不到键入的内容。

How to add vertical scroll for scrolling hidden content? 如何添加垂直滚动以滚动隐藏内容?

you have to declare soft keyboard value appropriately in AndroidManifest.xml 您必须在AndroidManifest.xml中适当声明软键盘值

Here is link for reference of values need to be set 这是需要设置参考值的链接

http://developer.android.com/guide/topics/manifest/activity-element.html http://developer.android.com/guide/topics/manifest/activity-element.html

check " android:windowSoftInputMode " in above link 在上面的链接中检查“ android:windowSoftInputMode

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM