在安卓的EditText标签或气泡气泡、标签、EditText

2023-09-12 06:52:09 作者:ツ椛非椛ゞ

有人能请点我在正确的方向如何做到这些气泡或标签中在EditText上像那些你看当你想创作的东西在流的Google+当您添加一个圆圈或联系?该矩形是自动完成的EditText。

Can someone please point me in the right direction how to do those bubbles or labels in the EditText something like those you see when you want to compose something in Stream for Google+ when you add a circle or contact? The Rectangle is an auto complete edittext.

推荐答案

你所呈现出的是相同的行为短信股票申请。搜索code 这里,看看它是如何做。

What you are showing is the same behavior as the SMS stock application. Search for the code here to see how it's done.

编辑:

在code应在 platform_packages_apps_mms 。看看的RecipientsEditor类。

The code should be in platform_packages_apps_mms. Take a look at the RecipientsEditor class.