I've gone through several questions and articles in the web and almost all of them seem to be pointing towards starting an Custom class which extends PreferenceActivity.
But then in the Android reference documents, it instructs to use preferencefragment.
What is the correct method to using it?
(I'm only asking because doing it through an activity has addPreferencesFromResource() as deprecated)
Assumption: api level 15