Adding a background to a Drawing View

Hehehe, so yesterday I was trying to add a background to my DrawingView. It was ridiculous. I have no idea what the problem was. I was trying to various combinations of Bitmap, Drawable even ImageView. None worked. The goal was to add a background to a DrawingView. Although you can do it directly in the XML, I had my DrawingView defined in java file rather than XML.

In the end I used assets like so:

Leave Comment

Your email address will not be published.

Please type the characters of this captcha image in the input box

Please type the characters of this captcha image in the input box