It works, thanks !!!
But now I got another issue.....
Where do I have to put viewChild.getWith()? because I am always
getting 0 or viewParent size, it depends on where I put it.

viewParent.onDraw()
{
   viewChild.getWidth()  // Here I got viewParent size
}

viewParent.onLayout()
viewParent.onDraw()
{
   viewChild.getWidth()  // Here I got 0
}

Thanks again.


--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to