Fixes problem with height=wrap_content for the expandable view. Issue #2 and #6. Uses a PreDraw listener to get the height of the field, and then the getHeight of the view will always be the correect precalculated height. Will not work for views that change size all the time, but these kind of views are rare.