I have EditText with custom background drawable:
EditText code:
Use inputType textNoSuggestions in xml.
textNoSuggestions
InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS is equivalent flag for this using code