Archie.bpgc
Archie.bpgc

Reputation: 24012

how to avoid soft keyboard showing auto correct suggestion?

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

enter image description here

Upvotes: 3

Views: 2579

Answers (2)

Lior Iluz
Lior Iluz

Reputation: 26563

You can add this line to you EditText

android:inputType="textFilter"

See here why it sometimes better than textNoSuggestions

Upvotes: 2

waqaslam
waqaslam

Reputation: 68187

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"

Upvotes: 6

Related Questions