9

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.

enter image description here

I think it's Android's spell checker. How can I prevent spell checking?

shift66
  • 11,760
  • 13
  • 50
  • 83

3 Answers3

12

Found the best solution:

android:inputType="textPhonetic"
shift66
  • 11,760
  • 13
  • 50
  • 83
7

Put this in your XML:

android:inputType="textNoSuggestions"
6thSigma
  • 248
  • 1
  • 7
6

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

NetStarter
  • 3,189
  • 7
  • 37
  • 48
  • @downvoter can you please help me understand the reason for a downvote ? it will be a big help for me to understand this – NetStarter Aug 24 '13 at 13:37