Adding text to ImageView in Android -


I have an ImageView I want to show this image view to show some messages in a fancy manner. So I want to add text to that image view. Can anyone tell me how I can do this.

Your ImageView You can:

  & lt; Relative layout & gt; // Only works within a relative layout & lt; ImageView Android: id = "@ + id / myImageView" Android: layout_width = "wrap_content" Android: layout_height = "wrap_content" Android: src = "@drawable / my ezage sauce" /> Android: Android: layout_height = "wrap_content" Android: layout_alignLeft = "@ + id / myImageView" Android: layout_alignTop = "@ + id / myImageView" and lieutenant; Android: layout_alignRight = "@ + id / myImageView" android: layout_alignBottom = "@ + id / myImageView" Android: layout_margin = "1dp" Android: gravity = "center" "Android: Text =" Hello "Android: textColor =" # 000000 "/ & gt; & Lt; / RelativeLayout & gt;  

Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -