I have a custom view i am writing for my drawing app - but the first
time i set the drawing into it i need to get the dimension for the
view (using getMeasuredWidth() & getMeasuredHeight()). But until the
view display these return 0. I have tried calling:
requestLayout()
invalidate()
numDraw.measure(MeasureSpec.EXACTLY, MeasureSpec.EXACTLY);

but nothing seems to force the values to update.

I guess the question i am asking is : does anyone have any tips on how
to get view to update its measurements off screen?

best
rob m

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to