0

I want to remove the smilly key in the Android 10 keyboard. enter image description here

I tried with diferent android:inputType in the EditText.

android:inputType="textCapSentences|textAutoCorrect|textMultiLine|textShortMessage"

I don't want to forbid this creating a InputFilter in java code

  • Does this answer your question? [How to disable emojis programmatically in Android](https://stackoverflow.com/questions/40888902/how-to-disable-emojis-programmatically-in-android) – javdromero Sep 27 '22 at 14:57
  • 1
    There are hundreds of soft keyboard implementations, both pre-installed and user-installed. Their respective developers can do whatever they want. Some will have buttons like this, some will not. Things like `inputType` are hints that can and will be ignored or interpreted differently by different soft keyboards. – CommonsWare Sep 27 '22 at 15:01
  • You can't do it for all keyboards maybe as @CommonsWare mentioned. Still, you can override `onTextChanged` or `filter` the input to get the desired result. – Dev4Life Aug 24 '23 at 06:17

0 Answers0