Code example for EditTextPreference

Methods: setEnabled, setWidgetLayoutResource

0
		Handler h = new Handler(getMainLooper());
		 
		h.post(new Runnable() {
			 
			public void run() { 
				editTextPref.setEnabled(true);
				editTextPref.setWidgetLayoutResource(orginalEditTextLayoutResource);
			} 
		}); 
	} 
	 
	// ***************************************************************************************************** 
	/** 
	 * MOCK delayed operation for custom checkbox 
	 * @param time_second 
	 */ 
	void delay3_s(final int time_second){
		Thread t = new Thread(new Runnable() {
			 
			public void run() { 
				try {