水平的ListView [英] Horizontal ListView
问题描述
可能重复:结果
<一href=\"http://stackoverflow.com/questions/3877040/how-can-i-make-a-horizontal-listview-in-android\">How我可以做一个横向的ListView在Android的?
我用垂直的ListView很多次,但对于某些要求,我想要实现水平的ListView,同时列表中的项目会dynamically.Please帮助我获得水平列表视图。
I have used Vertical ListView Many Times but for certain requirements I want to implement the Horizontal ListView, Also list Items will come dynamically.Please help me to get the horizontal Listview.
推荐答案
Android的API似乎缺乏一个水平的ListView
部件。
The Android API seems to be lacking a Horizontal ListView
widget.
因此,在其他教程,开发利用中实现它图库
或 HorizontalScrolllView
。
So In other tutorials, developer are implemented it using Gallery
or HorizontalScrolllView
.
其实画廊是可以很容易,因为你可以用它适配器,这样在运行时你可以把它添加自定义视图。它喜欢看一个水平的ListView。
Actually Gallery is make it easy because you can use Adapter with it so at runtime you can add custom view in it. And it look likes a Horizontal ListView.
刚刚经过下面的链接,
在所有可能的方式,这将被推荐的Android水平的ListView
In all possible way this would be recommended Android Horizontal ListView
另外这太问题<一href=\"http://stackoverflow.com/questions/3877040/how-can-i-make-a-horizontal-listview-in-android\">How我可以做一个横向的ListView在Android的?
这篇关于水平的ListView的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!