What to use instead of "addPreferencesFromResource" in a PreferenceActivity?

The Solution to What to use instead of "addPreferencesFromResource" in a PreferenceActivity? is


No alternative method is provided in the method's description because the preferred approach (as of API level 11) is to instantiate PreferenceFragment objects to load your preferences from a resource file. See the sample code here: PreferenceActivity

~ Answered on 2011-07-25 21:15:28


Most Viewed Questions: