Hi!
I'm trying to customize a RelativeLayout on order to show a nice
trasparent black content box. So my class has extended RelativeLayout
and has overridden the onDraw() method, but nothing appears in the
Eclipse layout editor; the same happens if I try to run my app on the
device.

I read I have to override dispatchDraw() and this works. I can see my
custom layout in the editor, but I'm not able to add child view to the
layout. Or better... I add a child in my layout from XML, but I can't
see it on the Eclipse layout editor. In this case if I run the app on
the device I see my layout drawn not correctly.. only a part of it is
drawn or it appears cut.

Why? What am I wrong?

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