Android的网格视图水平滚动 [英] Android Grid View Scroll Horizontally

查看:305
本文介绍了Android的网格视图水平滚动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在做这检索来自服务器的图像,并显示在GridView控件的应用程序的任务。这种网格视图上下滚动。但我想滚动这一观点从左到右分别为菜单屏幕滚动。 是否有可能以网格视图?或者是还有什么更好的办法来做到这一点?请帮我做这个。

I am doing a task which retrieves images from server and displays in GridView in the application. This Grid view is scrolling up and down. But i want to scroll this view left to right as the menu screen scrolls. Is it possible with grid view? Or Is there any better way to do this? please help me in doing this.

在此先感谢。

推荐答案

这是不容易可能与股票的Andr​​oid GridView控件。尝试使用这个库: 双向-gridview的

This isn't easily possible with the stock Android GridView. Try using this library: two-way-gridview

(我发现这个库在这个其他答案:水平滚动网格视图

(I found in this library in this other answer: Horizontal scrolling grid view)

这篇关于Android的网格视图水平滚动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆