I got a Layout and it's height is set to wrap_content. Now I need to get the real hight dynamically at run time.
How can I do this?
I tried this:
layout.getLayoutParams().height
But this will give me "-2" which is Wrap_Content.
Can anyone help me?