Reputation: 373
Upvotes: 0
Views: 193
Reputation: 11535
If you're going to use a ListView
, you'll need to implement your own ListAdapter
. The Adapter
API supports using different views depending on the list item, so you'll just implement getViewItemType
and getView
to use a different view depending on which item it's asking about. How you do this is up to you.
However, if you actually want what you see in the screenshot which is a list of preferences, why not use PreferenceScreen
?
Upvotes: 3