title: Android Bitmap: Convert transparent pixels to a color
body: <p>I have an Android app that loads an image as a bitmap and displays it in an ImageView. The problem is that the image appears to have a transparent background; this causes some of the black text on the image to disappear against the black background.</p>
  
  <p>If I set the ImageView background to white, that sort of works, but I get ugly big borders on the image where it is stretched to fit the parent (the actual image is scaled in the middle).</p>
  
  <p>So - I want to convert the transparent pixels in the Bitmap to a solid colour - but I cannot figure out how to do it!</p>
  
  <p>Any help would be appreciate!</p>
  
  <p>Thanks
  Chris</p>