listing images and text in listview

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

listing images and text in listview

Postby anurahim » Fri Jun 27, 2008 11:56 am

How to list images and text in a listview. ? I want to list some images and text corresponding to the image and list them in listview(or so...).. i have done the listng of text.... can any one pls let me know how add the images too with each of the text???
Last edited by anurahim on Wed Jul 02, 2008 9:32 am, edited 1 time in total.
Junior Developer
Junior Developer
Posts: 24
Joined: Fri Jun 27, 2008 11:26 am


Postby michael_g_hu » Wed Jul 02, 2008 9:07 am

Sorry, i don't quit understand your meaning.
do you want eahc item with a image of the left and text on the right?
if so, int the getview method, just return a linearlayout with the two in it.
Posts: 35
Joined: Fri Mar 21, 2008 9:46 am

Postby borya » Wed Jul 02, 2008 9:04 pm

this blog has a good example of what you're looking for if I am not mistaken: ... n-xml.html
Posts: 27
Joined: Wed Jul 02, 2008 7:50 pm
Location: California, USA


Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 2 guests