Hi,

I'm trying to add a drawing to each item of a list. To that end I've
created a CustomView with onDraw() and onLayout(). Items of the list
are defined as AbsolutLayouts, with TextView children and one
FrameLayout child for drawing in it. In getView() of the adapter I'm
populating TextViews, then create a CustomView, and add it as a child
to the FrameLayout.

TextViews are displayed fine, not surprisingly. As to CustomView, its
onLayout() gets invoked, but never onDraw(), hence no drawing is
happening.

Why would that be happening?

Thanks for your insights

Eng
--~--~---------~--~----~------------~-------~--~----~
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