title: How to convert View to Bitmap in android?
body: <p>I'm using following line to convert view to bitmap in android.</p>
  
  <pre><code>view.setDrawingCacheEnabled(true);
  Bitmap b= view.getDrawingCache(); 
  </code></pre>
  
  <p>I am having value in view when I am converting to Bitmap, its showing bitmap value null.                     </p>