Search code examples
androidtextandroid-edittextautosuggest

android EditText what inputType to avoid text suggestions


one of my biggest peeves is how some android keyboards make text suggestions come up with no way to hide the keyboard. I think this has something to do with the kind of editable field is being focused.

What inputType will make this never happen? I never want to see android word suggestions when I am trying to have a user log in, for instance.


Solution

  • TYPE_TEXT_FLAG_NO_SUGGESTIONS

    http://developer.android.com/reference/android/text/InputType.html#TYPE_TEXT_FLAG_NO_SUGGESTIONS