创建自定义EDITTEXT与标签般的功能自定义、标签、功能、EDITTEXT

2023-09-13 23:45:49 作者:失约

我一直在寻找周围,但没有找到任何答案了这一点。我想要实现的一个EditText类似收件人字段中的ICS Gmail应用程序的构成画面中。

I've been searching around but could not find any answers to this. What I'm trying to implement is an EditText similar to the 'To' field found in the composing screen of the ICS gmail app.

下面是一个形象描述我想要什么:

Here's an image describing what I want:

我想延长的EditText 和实施自己的自定义的EditText 类的,但我真的不知道如何做到这一点,甚至如果这是最好的解决方案。有什么想法?

I'm thinking of extending EditText and implementing my own custom EditText class but I'm not really sure how to do that or even if that's the best solution. Any thoughts?

推荐答案

嗯,花了一段时间来找到一个类似的问题,但尽管如此,这里的的最接近的答案,我发现。我知道其他人以前有这样那样的问题!感谢CommonsWare指着我在正确的方向。

Hm, took a while to find a similar question but nonetheless, here's the closest answer I found. I knew other people had this kind of problem before! Thanks to CommonsWare for pointing me in the right direction.

 
精彩推荐
图片推荐