开发者

Android - how to remove the "input method" popup?

开发者 https://www.devze.com 2023-01-16 19:04 出处:网络
I have an application with a WebView. The WebView opens a page and there is a input field on the page. If the users clicks on the input field and presses for long some of the submission buttons, a \"i

I have an application with a WebView. The WebView opens a page and there is a input field on the page. If the users clicks on the input field and presses for long some of the submission buttons, a "input method" popup appears (from Android).

How can I remove this popup? I tried override-ing the onTouch, onKeyLongPress and some ot开发者_运维技巧her methods to return false, but it doesn't seem to work.


I don't think it's possible to remove that at all. It's like a chooser for different on-screen keyboards.

In order to remove it, you have to remove the keyboards from the settings. If there is one, it won't be displayed, but this is a user choice.

0

精彩评论

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