我怎样才能在分岔路口的EditText建议? [英] How can I turnoff suggestions in EditText?

查看:114
本文介绍了我怎样才能在分岔路口的EditText建议?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我怎样才能在分岔路口的Andr​​oid在EditText上建议?

How can I turnoff suggestions in EditText in Android?

推荐答案

它的号Yoni Samlan张贴的链接已经描述。你应该正确地阅读文档;)

It's already described in the link Yoni Samlan posted. You should read the documentation correctly ;)

有一个名为setInputType方法。所有你需要的是与调用它

There is a method called setInputType. All you need is to call it with

edittext.setInputType(InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS);

这篇关于我怎样才能在分岔路口的EditText建议?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆