canvas


  • (Android) Change background of a bitmap

    Create a new bitmap, with the size and config of the bitmap you wish to change. Create a Canvas and prepare it to paint to the new bitmap. Paint the new bitmap with your color using the canvas object. Draw the old bitmap to the new bitmap through the canvas object. Do what you want…