开发者

Stop the Android softkeyboard from word completion

How do you stop the Android softkeyboard from displaying completed text in a T开发者_运维知识库extView. 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


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.


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"
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜