GridView控件与水平滚动 [英] GridView with horizontal scroll

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

问题描述

目前,我有一个GridView垂直方向,一切工作正常。但现在,我想改变我的布局,并有GridView控件生长在它的宽度,而不是高度,因为它的增长较大,我失去了。

我试图只是一个项目被添加到GridView每次更改列宽。但是,没有垂直滚动出现,即使项目正确添加。有没有一种简洁的方式来解决这个问题,或者我必须做我自己的GridView的? :(

干杯,

解决方案
  

但现在,我想改变我   布局和有gridview的增长上   它的宽度而不是高度,因为它   变大

我不相信的GridView 支持 - !对不起

I currently have a GridView scrolling vertically, and everything works fine. But now that I want to change my layout and have the gridview grow on its width instead of height as it grows bigger I am lost.

I have tried to simply change the column width each time an item is added to the gridview. But no vertical scroll appears, even though the items are added correctly. Is there a neat way to fix this, or must I make my own gridview? :(

Cheers,

解决方案

But now that I want to change my layout and have the gridview grow on its width instead of height as it grows bigger

I do not believe GridView supports that -- sorry!

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

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