Creating text input layout with validation
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Demo
images Initial commit Mar 31, 2017
DESCRIPTION.md
LICENSE.txt
README.md

README.md

Creating text input layout with validation

Platform Language License

Overview

This is a sample program that creates an text input layout with validation.

animation

How to use?

<ValidationTextInputLayout
    app:required="true"
    app:validation_type="email"
    app:error_text="Email value is invalidated"
    >
    <EditText
        android:hint="Email (Required)"
        />
</ValidationTextInputLayout>

ValidationTextInputLayout extends TextInputLayout and adds custom attributes (required, validation_type, error_text). If specified validation type does not pass, the error text is displayed.

Author

R. Ayakix