Skip to content Skip to sidebar Skip to footer

How To Add Text To Image In Grid View?

well i have gridview , which pulls the images from server & display it in gridview, i want to add related text to each image.it must look like the below image. How to achive th

Solution 1:

in order to fill a GridView you got to create an item(Xml layout); then in the adapter you'll got to inflate it and fill it up; so you are able just to create a FrameLayout with an image and a textView with gravity bottom and background #66666666 where #AARRGGBB AA-is an alfa chanel(transparecy);


Post a Comment for "How To Add Text To Image In Grid View?"