use getMeasuredHeight instead of getHeight (just worked before, because it was
never included in a WRAP_CONTENT layout)