Code example for EditText

Methods: setEnabled

0
	public String getText() {
		return mEditText.getText().toString();
	} 
 
	public void setEnabled(boolean b) {
		mEditText.setEnabled(b);
	} 
 
	public void setOnKeyListener(OnKeyListener listener) {
		mEditText.setOnKeyListener(listener);
	} 
 
	public void addTextChangedListener(TextWatcher watcher) {
		mEditText.addTextChangedListener(watcher);
	} 
 
	public void requestFocus() { 
		mEditText.requestFocus();
	} 
 
Stop searching for code, let great code find you!  Add Codota to your java IDE