android - adding a String over a Drawable image?
I'm trying to add a String to a Drawable image. I'm currently not using a Panel to draw and I'd like to keep it that way. Any ideas or do I need to invoke an onDraw() method? My image is showing up with this code: Drawable image = getResources().getDrawable(tile_types[tileType]); setImageDrawable(image); I'd like to add a String over this image. Thanks. Sam's answer was my starting point, but the image didn't show up, only the text (I use it on a Google Map). Finally I got it working with a LayerDrawable . Here is my solution: private Drawable createMarkerIcon(Drawable backgroundImage, String