use of android.preference.PreferenceManager in project divide by HiddenStage.
the class Settings method onCreate.
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
PreferenceManager manager = getPreferenceManager();
manager.setSharedPreferencesName(PREFERENCE_NAME);
addPreferencesFromResource(R.xml.prefs);
}
Aggregations