did you use the fully qualified name when you put it in main.xml?
e.g.: com.google.myapp.MyView
if that doesn't do it, it's hard to debug without any code--also there
are ways to draw a line without creating an extra custom view

On Mar 17, 8:05 am, "Vishwesh R." <vish...@gmail.com> wrote:
> hi,
>     im a beginner
>    i have created a Myview wich extends View class. i have drawn a
> line on this view (that is Myview) in its onDraw() method.
> i included my view in its main.xml
>
> it shows no error but when i run this application, it loads the canvas
> but im unable to see the line wich i have drawn in Myview
> the coordinate of the line do lie on canvas but it not visible after
> the application is run..

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