TextInputLayout.setError() leaves empty space after clearing the error

前端 未结 10 1475
囚心锁ツ
囚心锁ツ 2020-12-08 09:24

I recently used TextInputLayout and it\'s setError() method. The problem I\'m getting is, when I clear the error by calling setError(null)

10条回答
  •  有刺的猬
    2020-12-08 09:30

    Method setErrorEnabled(false) will clear the extra space, so call it after setError(null).

提交回复
热议问题