I am trying to find a form validation library in android. Is there such a thing ?
I have a registration form that I want to validate its fields. If the user enters an invalid data, I want to put a red warning mark at the right of the field and pop up a tooltip that he entered an invalid data.
I know about the android:inputType but this is not what I want
I don’t know about any such libraries. But if you are working with EditTexts, then your best option is to use a custom TextWatcher:
And then you can use it on all your EditTexts like