In my app i would like to forbid the use of virtual keyboards since want to avoid the user being able to insert emojis via the keyboard. I managed to remove the emoji button from the default keyboard by setting the EditText inputType properties to android:inputType="textVisiblePassword|text"
, based on this answer/ question.
But given the case that the user uses a different virtual keyboard, the emoji button is back again of course.
Question: Is there a way to forbid virtual keyboards inside the app? So that only the default keyboard can be used.
And if not: How can i make the EditText field not accept any emojis from the user keyboard?
Thanks for your help!