I'd like to get the height of a linearlayout
. I found more information in this answer
View.getWidth()/View.getHeight()
won't give you a meaningful answer until the view has been measured.
How will I know that view has been measured? Is there some event for it?
UPD:
Solution for me is to get layout's height in overriden onWindowFocusChanged()