This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Android and the fly likes Create Custom List Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Create Custom List" Watch "Create Custom List" New topic
Author

Create Custom List

Vishal Trivedi
Ranch Hand

Joined: Sep 05, 2011
Posts: 57
Hello


I wish to creat a list where i want to see an Image on the Left.Then followed by Two rows of Text on Right for each row.The Text on First row has to have a bigger font then then text below it

I would like to know the steps that i am suppsed to follow to implement this.
I have tried to google but not getting a correct or rather a satisfactory answer

some thing like this...


ICON BookName
HERE Publisher

Thanks in Advance
Hardik Trivedi
Ranch Hand

Joined: Jan 30, 2010
Posts: 252
Hi Vishal,

The kind of view you want to design is very basic,yet very useful in most of the application. And it is simple too.
As you know that layouts are designed in xml file..
I will provide the guideline for making the view..

Vishal Trivedi
Ranch Hand

Joined: Sep 05, 2011
Posts: 57
I have done that i believe i am having problem with implementing adapter for the same.
Hardik Trivedi
Ranch Hand

Joined: Jan 30, 2010
Posts: 252
http://www.softwarepassion.com/android-series-custom-listview-items-and-adapters/
http://www.pocketmagic.net/?p=1343
Vishal Trivedi
Ranch Hand

Joined: Sep 05, 2011
Posts: 57
thanks its working now!!!

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Create Custom List
 
Similar Threads
Trying to use AJAX to call a servlet
List all style attributes in a JTextPane
struts2: select tag and parameters property of bean
Usage of list() with File to search files and directories
How to delete files in a directory older than n days