I looked at the "setFrame()" method of the parent view class. This
method calls onSizeChanged() only if there is a change in size of that
view. If there is a change in size it also calls "invalidate()".

So am I right in thinking that it is redundant to call invalidate() in
onSizeChanged() method.

Also I don't see any difference between taking the width and height
from the onSizeChanged() or from the view methods of getTop(),
getLeft() etc. am I missing something here?

Thanks a lot
Satya

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

Reply via email to