【开源】ParallaxListView
ParallaxListView
- https://github.com/mattlogan/ParallaxListView
介绍:
ListView的header在滚动过程中会产生视差效果。运行效果:
![]()
使用说明:
Use a ParallaxListView where you'd normally use a ListView.
在平时使用ListView的地方使用ParallaxListView。
像平时一样调用setAdapter(ListAdapter adapter)方法,不用关心header的问题。
调用setHeaderDrawable(Drawable drawable)设置一个header
ParallaxListView包含了一些样式属性,比如分割线颜色,分割线高度,header_height,parallax_factor等
posted on 2015-04-10 09:51 wasdchenhao 阅读(70) 评论(0) 收藏 举报

浙公网安备 33010602011771号