height worked out dynamically at rendering time

Posted by nourdine on Stack Overflow See other posts from Stack Overflow or by nourdine
Published on 2010-04-18T00:23:17Z Indexed on 2010/04/18 0:33 UTC
Read the original article Hit count: 456

Filed under:

hello

I have to make a simple layout in android but have problem with the heigh of the central element. basically I have a header, a body and a footer. header and footer have fixed height but I'd like the body to fill the remaining space. this should be screen size independent so I'd like the height of the body to be dynamically worked out when the layout is being rendered.

do you guyz know how I can achieve the result?

thanks

© Stack Overflow or respective owner

Related posts about android