Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Stop the Android softkeyboard from word completion

Tags:

android

How do you stop the Android softkeyboard from displaying completed text in a TextView. It is very important for my application that the spelling is not shown. In 1.6 SDK I made the InputType = VisiblePassword and that seemed to stop it, however this does not appear to work in the 2.1 SDK.

thanks

like image 621
jax Avatar asked Jan 18 '10 13:01

jax


2 Answers

Did you try setting inputType to textNoSuggestions? That's API an API level 5, though, so you probably want to continue to include textVisiblePassword for the previous versions.

like image 82
Shaun K. Avatar answered Sep 29 '22 08:09

Shaun K.


android:inputType="textNoSuggestions"

according to this, may or may not be supported by the IDE.

However, this seems to work more often

android:inputType="textNoSuggestions|textVisiblePassword"
like image 36
Kurru Avatar answered Sep 29 '22 08:09

Kurru