开发者

Scrolling ListView Horizontally and Vertically Both In Android [duplicate]

开发者 https://www.devze.com 2023-02-28 23:05 出处:网络
This question already has 开发者_Python百科answers here: Closed 10 years ago. Possible Duplicate: Horizontal ListView in Android?
This question already has 开发者_Python百科answers here: Closed 10 years ago.

Possible Duplicate:

Horizontal ListView in Android?

I am creating a listView by inflating a xml file,,I want my list to be scrolled Horizontal as well as Vertically my content are hiding in left part of screen.

Can someone tell me how to scroll a list horizontally.??

Updated

I can use HorizontalScrollView But it will scroll horizontally.I want both scrollbar to be enable


Instead of using ListView use Gallery - it will be scrolled horizontal, and can be filled with datas in the same way as the ListView.

EDIT: Look at this post: Horizontal ListView in Android?, there are code samples of what you need.

0

精彩评论

暂无评论...
验证码 换一张
取 消