I updated support lib version to 24.2.0 and my registration screen is dead now. The problem is in the TextInputLayout, I have two methods:
protected void
I was having the same issue with this and I ended up using that library -> MaterialEditTest who was far more reliable and offers more features.
With that one, you don't need to nest elements and you can modify small label color and error message...