Vitaly Zinchenko
Vitaly Zinchenko

Reputation: 4911

android EditText disable spell check and leave multiline

I have an EditText which is intended to be multiline.
A default input type performs spell checking and red lines are drawn below the EditText if a word is "incorrect".
I want to disable this feature.
I tried android:inputType="textNoSuggestions", but then EditText is no longer multiline.
Please tell me what are possible solutions.

Upvotes: 0

Views: 1381

Answers (1)

Prerak Sola
Prerak Sola

Reputation: 10009

Add this:

android:inputType="textMultiLine|textNoSuggestions"

Upvotes: 2

Related Questions