Thursday, 15 January 2015

android - How do I get my GridView top row to match the height of the tallest item? -


I have a gridview with multiple view types For some reason, the height of the top row is always at least corresponds to the object, so high things are sorted out.

Is there a way to tell my gridview that each item fits into the line? Do I have any control at the height of individual rows? How does GridView decide how long a line should be?

P. s. I did not post a code sample because I'm pretty sure this problem is not specific to my code. In fact, I think it might be a bug in the gridview because it only happens in the first line.

It looks like GridView

This is your The best bet can be.


No comments:

Post a Comment