views:

49

answers:

1

Hi I have one ImageView. I want to show this image view for showing some message in fancy way. So I want to add text to that ImageView. Can Anybody tell me how can I do this.

+1  A: 

With a FrameLayout you can place a text on top of an image view, the frame layout holding both an imageView and a textView.

If that's not enough and you want something more fancy like 'drawing' text, you need to draw text on a canvas - a sample is here: http://stackoverflow.com/questions/1417503/how-to-draw-rtl-text-arabic-onto-a-bitmap-and-have-it-ordered-properly

Mathias Lin