How to disable spell checking for Android AutoCompleteTextView?

I searched for this problem but could not find the answers to my question.
I have an AutoCompleteTextView and some rows as sentences (city names).

Android marks them with a red line.

enter image description here

I think this is a spell check on Android. How to prevent spell checking?

+7
android autocompletetextview
source share
3 answers

Found the best solution:

android:inputType="textPhonetic" 
+9
source share

I'm not sure but

You can use android:inputType="textNoSuggestions" to get rid of sentences and android:autoText to false for autocompletetextview.

Another possible way out would be to use android:inputType="textVisiblePassword"

You can look here

+4
source share

Put this in your XML:

 android:inputType="textNoSuggestions" 
+2
source share

All Articles