android - GridView takes the height of 1st element/gridItem rather than the height of tallest element/gridItem -


i have fixed number of elements, 3 precise, aligned horizontally in single row, in gridview.

each grid element linear layout vertical orientation. //fixed size not optional //optional text //optional text //optional text //not optional

as text1/text2/text3 not compulsory, each gridelement has variable height. if height of first gridelement less other 2 gridelements, heights of gridelements 2 , 3 cut gridview takes height of first element.

i want gridview take height of tallest element.

please me in resolving issue.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -