GridView控件与水平滚动控件、水平、GridView

2023-09-12 06:49:19 作者:稚夏

目前,我有一个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? :(

C 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!