How to generate a ListView with headers above some sections?

Posted by Janusz on Stack Overflow See other posts from Stack Overflow or by Janusz
Published on 2010-03-06T23:39:48Z Indexed on 2010/05/30 17:02 UTC
Read the original article Hit count: 177

Filed under:
|
|

I want to generate a Listview that has some dividers between some of the entries, like it can be seen in some of the property sections. See the example below. I try to generate a List that consists of some textviews followed by one of the fancy dividers explaining the next part of the list and then again some text views. How can this be done? I thought about creating different views to add to the list? Is this the way to go?
alt text

© Stack Overflow or respective owner

Related posts about android

Related posts about listview