SyntaxFix
Write A Post
Hire A Developer
Questions
Call myTextInputLayout.setError() instead of myEditText.setError().
myTextInputLayout.setError()
myEditText.setError()
These container and containment have double functionality on setting errors. Functionality you need is container's one. But you could require minimal version of 23 for that.