Code example for EditText

Methods: setEnabled

0
    @Override 
    public void setEnabled(boolean enabled) {
        super.setEnabled(enabled);
        mIncrementButton.setEnabled(enabled);
        mDecrementButton.setEnabled(enabled);
        mText.setEnabled(enabled);
    } 
 
    public void setOnChangeListener(OnChangedListener listener) {
        mListener = listener;
    } 
 
    public void setFormatter(Formatter formatter) {
        mFormatter = formatter;
        updateView(); 
    } 
 
    /** 
     * Set the range of numbers allowed for the number picker. The current value 
     * will be automatically set to the start. 
     *