Android Question Listview Titles

Roger Daley

Well-Known Member
Licensed User
Longtime User
Hi All,

Next dumb question!
Is it possible to have a Title in a ListView. I have been over everything I can find in the Docs and the Forum and it appears that a Title in NOT an option. Just thought I would ask before I give up and do something useful.


Regards Roger
 

mangojack

Expert
Licensed User
Longtime User
If it's 1 Single Title for entire ListView ,a label would suffice ..

other than that it depends on the layout of your ListView .. you could use AddSingleLine as a header/category/title.
all other entries done with AddTwoLines /AddTwoLines&Bitmap .. even if one entry/parameter was empty.
 
Upvote 0

Roger Daley

Well-Known Member
Licensed User
Longtime User
If it's 1 Single Title for entire ListView ,a label would suffice ..

other than that it depends on the layout of your ListView .. you could use AddSingleLine as a header/category/title.
all other entries done with AddTwoLines /AddTwoLines&Bitmap .. even if one entry/parameter was empty.


Thanks mangojack

A label positioned at the top of the list fits the bill. I will give it a go, a simple solution.

Regards Roger
 
Upvote 0
Top