[android-developers] Re: adding custom view in main.xml

2011-03-22 Thread Vishwesh R.
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

[android-developers] adding custom view in main.xml

2011-03-18 Thread Vishwesh R.
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