安卓:页眉和页脚的显示列表视图 [英] Android: Show listview between header and footer
问题描述
我从Android开发教程中了解到,现在我可以做的ListView。和它的工作完美的罚款。现在,我的要求是我想说明的ListView与我在XML文件中都取得了页眉和页脚。
I learned from android dev tutorial and now I can make ListView. and it worked perfectly fine. Now my requirement is I want to show listview with a header and footer which I have made in xml file.
基本上在顶部会有一个头&放大器;页脚(文本视图),然后如下列表视图滚动页眉和页脚
Basically on the top there will be a header & footer (a text view) and then follows listview scrollable between header and footer
可有人转发我到合适的教程。
Can someone forward me to the appropriate tutorial.
推荐答案
下面是本教程链接
的http://blog.maxaller.name/2010/05/attaching-a-sticky-headerfooter-to-an-android-listview/
http://www.vogella.de/articles/AndroidListView/article.html
http://www.vogella.de/articles/AndroidListView/article。 HTML#的HeaderFooter
的http://www.samcoles.co.uk/mobile/android-listactivity-with-a-header-or-footer/
这篇关于安卓:页眉和页脚的显示列表视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!