Question

I want to display a main menu on the left and a settings page on the right of the screen. I want to use the Android compatibility API and fragments.

I also want to make use of the Android preferences features and add the preferences from .xml file, and don't want to use workarounds (like personally customized list views, linear layouts, etc). What options do I have, considering that PreferenceFragment is not included in the compatibility API?

Was it helpful?

Solution

Try using ActionBarSherlock's PreferenceActivity plugin.

Here is the sample source code.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top