I have about 100 channel names(text) and a image gallery. And a button on the top of the screen which will open the list of countries. If user choose any country then i have to load the channel of that country in a gallery.
I want that when user will choose a country from menu then i will just add the channels name to the images in gallery.
That mean gallery will show the images which have channel name written on it.
I want to know that how will i add the text on a image in gallery at run time??
You should implement custom adapter for gallery. As you can see from official tutorial that adapter’s
getViewmethod returns View object which can be some custom layout.See same question
See tutorial for adapter in listview.