How to programmatically hide/disable emoticons on Android soft keyboard

后端 未结 6 692
暗喜
暗喜 2020-12-03 01:25

Is it possible to hide a specific keyboard button? I have an EditText and on some devices its keyboard has smiley faces while on other devices it is missing. I

6条回答
  •  醉酒成梦
    2020-12-03 01:43

    I tried @Adrian's solution, but it has "@" and ".com" keys. I just need a field that can take user's name. I got my solution by combining textVisiblePassword and textNoSuggestions:

    android:inputType="textVisiblePassword|textNoSuggestions
    

提交回复
热议问题