Skip to content Skip to sidebar Skip to footer

How To Avoid Soft Keyboard Showing Auto Correct Suggestion?

I dont want my softkeyboard show these suggestions and any of the symbols like !, ', ,, :,'.

Solution 1:

To stop offering suggestions, add the following attribute to your EditText in XML:

android:inputType="textNoSuggestions"

and/or add multiple types using | as below:

android:inputType="textNoSuggestions | text"

Solution 2:

You can add this line to you EditText

android:inputType="textFilter"

See here why it sometimes better than textNoSuggestions

Post a Comment for "How To Avoid Soft Keyboard Showing Auto Correct Suggestion?"