There is a requirement for not allowing to display the option of Smileys on the Android soft keyboard. We are testing this on 2 different types of keyboards :
- Gboard
- Default Samsung keyboard
Scenario 1: On Gboard I do not see the option for displaying Smileys : This is expected
Scenario 2: On default Samsung keyboard, I can still see the option for displaying Smileys : Not expected
Below are the few solutions which I have tried : mEditText.setInputType(InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_VISIBLE_PASSWORD| TEXT_MULTILINE);
and
android:inputType="textEmailAddress"
from here : How to disable emoji from being entered in Android EditText?
but no luck.
Can someone please help to look into this issue since this is a must have functionality for us.