Code example for EditTextPreference

Methods: setOnPreferenceChangeListener, setText