I want to hide emojis and auto suggestions from keyboard programmatically. Its working in some Android devices but not in all devices. here\'s my code for hide auto suggesti
It's probably not the best solution but the code below worked for me just fine:
editText.setInputType(InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_VISIBLE_PASSWORD);
and since the password input type changes the font you just set the default typeface to it:
editText.setTypeface(Typeface.DEFAULT);