Reputation: 5737
I am extending EditText and add special words to the text from a list, programmatically. I am adding the text and also a Span (BackgroundColorSpan, ClickableSpan, etc to show them as different and make them clickable.
Is there any way I can disable spellcheck on a particular word or Span in my EditText/Editable?
Upvotes: 4
Views: 873
Reputation: 3417
to Disable spell checking you have to specify the EditText's InputType in your XML file as the following:
android:inputType="textNoSuggestions"
Upvotes: 2