问题
I've searched for this problem but not found any answers for my case.
I have an AutoCompleteTextView and some strings as suggestions (city names).
Android marks them with red line.

I think it's Android's spell checker. How can I prevent spell checking?
回答1:
Found the best solution:
android:inputType="textPhonetic"
回答2:
I am not sure but
You can use android:inputType="textNoSuggestions"
to get rid of suggestions and android:autoText
to false
for autocompletetextview.
The other possible way out will be to use android:inputType="textVisiblePassword"
You can have look at here
回答3:
Put this in your XML:
android:inputType="textNoSuggestions"
来源:https://stackoverflow.com/questions/17703286/how-to-disable-spell-checker-for-android-autocompletetextview