title: How to replace a Bitmap background to a certain color
body: <p>I have a PNG image (R.drawable.circle) that has a transparent background. I need to draw it in the canvas that is why I convert it into Bitmap. But I want the transparent background to be Color.WHITE. How do I do that? Is it possible?</p>
  
  <pre><code>private void drawer(Canvas canvas) {
        Bitmap animal = BitmapFactory.decodeResource(getResources(),R.drawable.circle);
        canvas.drawBitmap(Bitmap.createScaledBitmap(animal,100,100, false), 0, 0, null);
  }
  </code></pre>