Code example for PreferenceScreen

Methods: getSharedPreferences, findPreference