Code example for EditTextPreference

Methods: setDialogTitle

		public void AddEditText(String Key, final String Title, final String Summary, final String DefaultValue, final String Dependency) {
			childs.add(new B4APreference(Key, Title, Summary, DefaultValue, Dependency) {
				Preference createPreference(PreferenceActivity c) {
					EditTextPreference e = new EditTextPreference(c);
					return e;
		 * Adds a preference entry which allows the user to enter a password. Be aware that the password is saved uncrypted in the preferences file! 
		 *Key - The preference key associated with the value. 
		 *Title - Entry title. 
		 *Summary - Entry summary (second row). 
		 *DefaultValue - The default value of this preference entry if the key does not already exist. 
		 *Dependency - A key of a preference this preference entry depends on.