title: add layout as a view in Android
body: <p>I have a pretty complex layout defined in <code>xml</code> file , now I want to add this layout as a view using <code>addView</code> or something else.</p>
  
  <p>As layout is pretty much complex , its pretty cumbersome process to write the code for layout and then add it as a view. So is there anyway to load layout <code>resource</code> and add it as a view.</p>
  
  <p><em><strong>I want to add the layout into WebView</em></strong></p>