Code example for PreferenceScreen

Methods: getSharedPreferences