Code example for EditTextPreference

Methods: getEditText, setDialogTitle

0
		 */ 
		public void AddPassword(String Key, final String Title, final String Summary, final String DefaultValue, final String Dependency) {
			childs.add(new B4APreference(Key, Title, Summary, DefaultValue, Dependency) {
				@Override 
				Preference createPreference(PreferenceActivity c) {
					EditTextPreference e = new EditTextPreference(c);
					e.setDialogTitle(title);
					EditText et = e.getEditText();
					et.setTransformationMethod(new PasswordTransformationMethod());
					handleDefaults(e);
					return e;
				} 
			}); 
		} 
		/** 
		 * Adds a secondary PreferenceScreen. When the user presses on this entry the second screen will appear. 
		 * 
		 *PreferenceScreen - The screen to add. 
		 *Dependency - A key of a preference this preference entry depends on. 
		 */ 
		public void AddPreferenceScreen(PreferenceScreenWrapper PreferenceScreen, final String Dependency) {