Hi,
I am implementing my custom view in which I extend LinearLayout, add
some children, and do some paintings over them.

when I override onDraw method, I found my painting is done below
children components but I want my painting o be over children
component. Instead I tried to override the draw() method itself.
It works and now, my paintings are over the children components. But I
found JavaDoc says don't override draw(), instead override onDraw().

Is there a way to do what I want without overriding draw() itself (by
overriding onDraw()). Also, why shouldn't I override draw() itself?

thanks in advance

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to