Hi all. I understand the principle of a 9Patch image where the image stretches to fit the text within it. But this all assumes that the image is a background to a TextView, or similar.
What I want to do is draw an image to the canvas, and set the contained text at the time (currently I'm using canvas.drawText) - but here the image has no connection with the text, or with a view, so it wouldn't know to stretch. I know this can be done, I've seen it, I'm just not sure how to go about it... it's a bit like on google maps where you have a marker with a cloud image containing the info, it is set dynamically. Any ideas appreciated! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

