ListView控件OverScroll [英] ListView OverScroll
问题描述
我填一个ListView,然后我想做一些花哨。 我尝试添加一个OverScroll头到列表中,我预期的效果是,如果我overscroll名单,被拉伸会显示在列表的顶部,所以overscroll头看起来像列表中隐藏的标题。
I am filling a listView, then I wanted to do something fancy. I tried to add an OverScroll Header to the list, the effect I expected is that if I overscroll the list, a drawable will show up on top of the list, so the overscroll header looks like a hidden header for the list.
然而,我设置overScrollHeader和overScrollMode在布局XML文件中,没有什么改变。我这样做是对的Nexus S。
I set the overScrollHeader and overScrollMode in the layout xml file, however nothing changed. I did it on Nexus S.
那么,我可以从overScrollHeader期望,以及如何使它工作?
So what can I expect from the overScrollHeader and how to make it work?
我会真的AP preciate,如果有人能帮助我。
i will really appreciate it if someone can help me out.
推荐答案
您可以检查的http:// jasonfry.co.uk/?id=27 。然而,它并没有针对Android版本和LT工作; 2.3。
You can check http://jasonfry.co.uk/?id=27. However it doesn't work for android versions < 2.3.
这篇关于ListView控件OverScroll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!