I need to find out how big a view will be after attaching it to its parent.
I have overridden this method:
onMeasure(int, int);
but
first call
view.measure(0, 0);
then get
view.getMeasuredWidth() or view.getMeasuredHeight()
view.getMeasuredWidth()
view.getMeasuredHeight()