Stop Android soft keyboard from word completion

How to stop the Android on-screen keyboard from displaying completed text in a TextView. For my application, it is very important that the spelling is not shown. In the 1.6 SDK, I made InputType = VisiblePassword and seemed to stop it, however this does not work in the 2.1 SDK.

thanks

+7
android
source share
2 answers

Have you tried setting inputType to textNoSuggestions? This API is Level 5 API, however, so you probably want to continue to include textVisiblePassword for previous versions.

+4
source share
android:inputType="textNoSuggestions" 

according to this , IDEs may or may not be supported.

However, it seems to work more often.

 android:inputType="textNoSuggestions|textVisiblePassword" 
+1
source share

All Articles