I'm facing very similar issue as here:
Resizing layouts programmatically (as animation)
and the solution there is great but I need one more feature.
I'd like to animate the resizing from height = 0 to height = WRAP_CONTEN. But have no idea how to measure the wrap content size. So I need somehow detect that I've reached this value or calculate it before resizing. Do you have idea how to do it?