开发者

How can I hide the soft keyboard in WebView?

开发者 https://www.devze.com 2023-01-23 08:55 出处:网络
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 stackoverfl开发者_如何学Goow but none of them worked for a we

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 stackoverfl开发者_如何学Goow but none of them worked for a web view.


Does "the rest of the solutions posted" include adding android:windowSoftInputMode="stateAlwaysHidden" in the activity description of your manifest file?

0

精彩评论

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