How to setHeight for a ViewGroup

Posted by michael on Stack Overflow See other posts from Stack Overflow or by michael
Published on 2010-03-15T16:25:18Z Indexed on 2010/03/15 16:29 UTC
Read the original article Hit count: 123

Filed under:

Hi,

Can you please tell me how can I setHeight for a ViewGroup? I see there is a layout(l,t,r,b);

But that is different form setHeight(), since I don't know where should be the top/bottom of the viewGroup. I need to set the height of the ViewGroup and return that to ListAdapter.

Thank you.

© Stack Overflow or respective owner

Related posts about android