I recently used TextInputLayout and it\'s setError() method. The problem I\'m getting is, when I clear the error by calling setError(null)
TextInputLayout
setError()
setError(null)
Method setErrorEnabled(false) will clear the extra space, so call it after setError(null).
setErrorEnabled(false)