简体   繁体   English

如何拉伸android GridView的行高?

[英]How to stretch row height of android GridView?

I am having one gridview.In that Dynamically added component and height of the component is vary. 我有一个gridview。因为动态添加的组件和组件的高度是变化的。 so i want row height of grid view is maximum height of component. 所以我想网格视图的行高是组件的最大高度。 Please somebody help me. 请有人帮我。

如果您的组件高度不同,则此示例项目将最适合您的问题https://github.com/etsy/AndroidStaggeredGrid

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM