如何在Android中粘做出节标题(如iOS的)?标题、如何在、Android、iOS

2023-09-05 07:48:42 作者:▲瘋了般的吼叫、傷不起

我的具体问题是:我如何能实现这样的效果: http://youtu.be/EJm7subFbQI

My specific question is: How I can achieve an effect like this: http://youtu.be/EJm7subFbQI

反弹效应并不重要,但我需要的粘性的效果,为头。从哪里开始?在我有什么可以依据我吗?我需要的东西,我可以在API 8落实了。

The bounce effect is not important, but i need the "sticky" effect for the headers. Where do I start?, In what can I base me? I need something that I can implement on API 8 to up.

感谢。

推荐答案

有已经对这个问题存在一些解决方案。你所描述什么是节头,并来到被称为的粘稠的在Android的节头。

There are a few solutions that already exist for this problem. What you're describing are section headers and have come to be referred to as sticky section headers in Android.

粘列表标题 粘滚动视图 HeaderListView Sticky List Headers Sticky Scroll Views HeaderListView