如何绘制Android的列表视图就像联系人应用程序做了一个节头? [英] How to draw a section header in Android listview just like the Contacts app did ?

查看:129
本文介绍了如何绘制Android的列表视图就像联系人应用程序做了一个节头?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道如何在屏幕上显示出来,但是当我用我的手机联系人应用程序,我发现它的拼音节头可以固定在上面,当我滚动列表。

I know how to display it in the screen, but when I use the Contacts app in my phone, I found its alphabet section header can be fixed in the top when I scroll the list.

如何做到这一点?

推荐答案

在这里看到的AmazingListView,这是ListView的第头部。

See the AmazingListView here, which is ListView with section headers.

它的工作原理类似于默认的联系人应用程序。

It works similarly to the default Contacts application.

HTTP://$c$c.google.com/p / Android的惊人-列表视图/

这篇关于如何绘制Android的列表视图就像联系人应用程序做了一个节头?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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