Android的文本编辑行为类似Gmail应用"要QUOT&;领域 [英] Android textedit that behaves like the gmail app "To" field

查看:158
本文介绍了Android的文本编辑行为类似Gmail应用"要QUOT&;领域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要让我的用户输入多个电子邮件地址到一个文本编辑,我想有建议交往的能力,因为他们键入地址,一旦他们在一个或多个邮件进入,我想验证电子邮件和在视觉上表示该电子邮件中添加。 Gmail应用程序做的这个伟大的工作。下面是什么我谈论的照片。任何人都可以给我一些建议或点我在正确的方向?

I need to allow my users to enter multiple email addresses into a textedit and I would like to have the ability to suggest contacts as they type the address and once they enter in one or more emails I would like to validate the email and visually signify that the emails are added. The gmail app does a great job of this. Below are pictures of what I'm talking about. Can anyone give me some suggestions or point me in the right direction?

推荐答案

您必须使用的 MultiAutoCompleteTextView

You have to use a MultiAutoCompleteTextView.

这篇关于Android的文本编辑行为类似Gmail应用"要QUOT&;领域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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