title: Which way of creating view is faster in android XML or drawing on Canvas
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/9827819/best-practices-layouts-on-android-programmatic-vs-xml">Best practices: Layouts on Android (Programmatic vs XML)</a>  </p>
  </blockquote>
  
  
  
  <h1>Which of way of creating complex view in android is faster</h1>
  
  <p>1) defining the layout in xml by adding standard view in layout.</p>
  
  <p>2) Draw the required in the onDraw of an custom view</p>