jax
jax

Reputation: 38643

Stop the Android softkeyboard from word completion

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

Upvotes: 7

Views: 1977

Answers (2)

Kurru
Kurru

Reputation: 14331

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"

Upvotes: 1

Shaun K.
Shaun K.

Reputation: 391

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.

Upvotes: 4

Related Questions