如何在 Android 中制作粘性部分标题(如 iOS)? [英] How to make sticky section headers (like iOS) in Android?

查看:23
本文介绍了如何在 Android 中制作粘性部分标题(如 iOS)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的具体问题是:如何实现这样的效果: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 中被称为 sticky 部分标题.

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.

这篇关于如何在 Android 中制作粘性部分标题(如 iOS)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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