Is there any kind of predefined adapter or custom utility that can help me quickly create a ListView of settings that feels like the native ICS one?
I've read this document extensively:
http://developer.android.com/design/patterns/settings.html#flow-structure
And understand it perfectly, but it seems like a bit of work to roll my own ListView adapter that handles big dividers, and thin ones, and different size headers, etc. Googling isn't yielding many programming oriented results, mostly just items for end users, like how to use the settings in ICS.
EDIT: Browsing the source seems to indicate that there is a large custom adapter embedded within the Settings App, in Settings.java ( the app entry point ).
Still though, I believe my question still stands, as I'd still like to either get an extracted version of that Adapter, or a tutorial for working with it or a custom one.
EDIT 2: Perhaps I should extend PreferenceActivity.
EDIT 3: Perhaps extending won't work, as I'm using ActionBarSherlock, so I have to extend SherlockActivity.
You should read the documentation on ActionBarSherlock
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With