This is a great tutorial on how to get a Single Choice List in Android to work, but I need one more thing: I want two lines of text instead of one. So, it would look like this:
|-----------------------------|
| FIRST LINE OF TEXT (o) | <- this is a "RadioButton". Ideally,
| second line of text | it would be centered vertically.
|-----------------------------|
This SO question is related, but I’m an Android newb, so it’s a little over my head. Can anyone break it down for me so that I can use it in the context of the tutorial I linked above?
You need to create the custom layout for this.
for display list as it like
this is your layout file
this is your custom list view style
now you have to implement any adapter like BaseAdapter,ArrayAdapter etc.
and use this custom list view in that
like this way
here is your Model class for your list item