title: How to draw a View on a canvas by giving the x , y postion?
body: <p>How can i draw a view on a canvas by giving the x,y position in the canvas.  </p>
  
  <p>For example,<br>
  I have custom view myView, which was created by inflating one of my layout.xml file.
  Now i want to draw this myView on the canvas at position (x, y).  </p>
  
  <p>How can i do that?  </p>
  
  <p>Please help with your ideas.  </p>
  
  <p>Thanks,<br>
  Sen</p>
  
  <p><strong>Updated:</strong>  </p>
  
  <p>To be more specific,<br>
  I have </p>
  
  <pre><code>myView extend view { 
  ... 
  protected void onDraw(Canvas canvas) {  
  super.onDraw(canvas);  
      { Inside which i will draw a curve }  
  </code></pre>
  
  <p>Then I will obtain 8 set of co-ordinates along the path and will store it in a list.  </p>
  
  <p>Then i have created a new view by using Absolute layout and its name is myinfo.xml(which contains two text views) present inside the res/layouts folder.  </p>
  
  <p>Now i want to inflate this view inside the onDraw method and want to place them in the above collected co-ordinates.  </p>
  
  <p>But i tried to inflate the view in this class(myView) but it is not working.  </p>
  
  <p>Please tell where am i wrong??  </p>
  
  <p>If you have some other suggestion, do update me.  </p>
  
  <p>Thanks &amp; Regards,<br>
  Sen</p>