简体   繁体   中英

How can I hide the soft keyboard in WebView?

For an EditText view i can use setInputType(InputType.NULL), but an web view doesn't have it. I tried the rest of the solutions posted on stackoverflow but none of them worked for a web view.

“发布的其余解决方案android:windowSoftInputMode="stateAlwaysHidden"在清单文件的活动描述中添加android:windowSoftInputMode="stateAlwaysHidden"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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