开发者

Stop the Android softkeyboard from word completion

开发者 https://www.devze.com 2022-12-17 05:10 出处:网络
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 Inpu

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

精彩评论

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