title: Android: Drawing a Transparent Bitmap on Canvas with some color
body: <p>Its Becoming a headache for me , i have a transparent png image,,, i have decoded that into a bitmap and later added on to a canvas,</p>
  
  <pre><code>BitmapFactory.Options options = new BitmapFactory.Options();
  Bitmap mBitmap = BitmapFactory.decodeResource(getResources(), picList[0] , options);
  Paint p = new Paint();      
  canvas.drawBitmap(mBitmap, 0, 0, p);
  </code></pre>
  
  <p>later on when i am saving the canvas it is showing image but showing the background as black,
  to implement white color i have used some codes like</p>
  
  <pre><code>Paint p = new Paint();
  p.setAlpha(color.white);
  p.setColor(color.white);
  canvas.drawColor(color.white);
  canvas.drawPaint(p);
  </code></pre>
  
  <p>but yet the color is not seted white,,,
   kindly help me out ,, i want the backgroung saved image to be white. if there is any other logic i am missing.
  thanx helping out.</p>