开发者

Is it possible to remove voice search for edits in Android

I have a requirement to suppress voice recognition button in Android SoftKeyboard.

During my research I found the setInputMethodAndSubType which has mode parameter. But I cannot locate how it can be used.

开发者_如何学编程

Any inputs.


My previous answer was incorrect. The correct flag was android:inputType. If you set this flag to textUri on your EditText it will make the voice recognition button not appear.

android:inputType="textUri"
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜