Android - ICS settings adapter

Is there any predefined adapter or custom utility that can help me quickly create ListView settings that look like native ICS?

I carefully read this document:

http://developer.android.com/design/patterns/settings.html#flow-structure

And I understand this perfectly, but it seems to me that you need to slightly collapse your own ListView adapter, which handles large delimiters, both thin and different size headers, etc. Google doesn’t produce many programming-oriented results, mostly just for end users, for example, how to use the settings in ICS.

EDIT: Viewing the source seems to indicate that there is a large user adapter in the settings application, in Settings.java (entry point to the application).

Nevertheless, I believe that my question is still worth it, since I would still like to get an extracted version of this adapter or a tutorial for working with it or a custom one.

EDIT 2: Maybe I should extend PreferenceActivity .

EDIT 3: The extension may not work as I am using ActionBarSherlock , so I have to extend SherlockActivity.

+3
source share
1 answer

All Articles