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"
精彩评论