我可以关闭predictive的输入EditField中? [英] Can I turn off Predictive Input for EditField?
问题描述
我明白'predictive输入选项可以为短信和电子邮件的帮助,但我想我的应用程序编程关闭此选项EditFields用户名和密码。我怎样才能做到这一点?
I understand 'Predictive Input' option can be helpful for texting and email but I want my app to turn off this option programmatically for EditFields for username and password. How can I accomplish this?
编辑:注意到PasswordEditField有一个副作用,就是它没有做任何改造(无自动更换电池,无需autocaps,无自动图文集)。这就是我所期待的。那我可以以某种方式击败替换输入的文本用星号的字符串其默认动作?
Noticed PasswordEditField has a side effect that it doesn't do any transformation (no auto replacement, no autocaps, no autotext). That's what I am looking for. Then can I somehow defeat its default action that replaces entered text with a string of asterisks?
推荐答案
看起来你需要提供 TextField.NO_COMPLEX_INPUT
风格你的领域:<一href=\"http://supportforums.blackberry.com/t5/Java-Development/Disabling-word-suggestion-AutoText-SureType-in-a-particular/td-p/378041\"在一个特定的EditField中相对=nofollow>禁用词建议/自动图文集/ SureType技术
It looks like you need to provide the TextField.NO_COMPLEX_INPUT
style to your field: Disabling word suggestion / AutoText / SureType in a particular EditField
这篇关于我可以关闭predictive的输入EditField中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!