title: How to draw Bitmap from ARGB_8888 Bitmap
body: <p>I am drawing paths on canvas and creating Transparent bitmap while saving and creating cropping bitmap from transparent bitmap.</p>
  
  <p>See Images : 
  <img src="https://i.stack.imgur.com/LctIE.png" alt="enter image description here"></p>
  
  <p>In this I mage I am drawing path on canvas and I am creating transparent bitmap and according to startX,lowestY and highestX,highestY </p>
  
  <pre><code>Bitmap cropBitmap =Bitmap.createBitmap(sourceBitmap,startX,lowestY,highestX,highestY);
  </code></pre>
  
  <p>When I am cropping Bitmap I want Only "Test" drawing crop bitmap.But it's giving empty bitmap. Like this</p>
  
  <p><img src="https://i.stack.imgur.com/nhvB5.png" alt="enter image description here"></p>
  
  <p>Inside red box I want cropped bitmap from transparent bitmap whatever I draw on canvas.</p>