Ofcourse I know it returns 0 measures until it is drawn to window. But I need to get the height of the layout and accordingly the child views should get adjusted. Below is my code snippet.In this class I am generating 36 edittexts using adapter class. So I need to get the height of the layout according to the screen to adjust the edittexts. Screen height would not be helpful for my app. Any code snippet would be greatly appreciated. Thanks in advance.Ofcourse I know it returns 0 measures until it