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
I'm having the same problem. I guess the only way is to render it first, then remove it after if it meets the size condition. Seems a bit of an odd way, but Android only seems to know the dimensions after drawing.