Skip to content

A small adaptation for Android of the new Material design's text fields

License

Notifications You must be signed in to change notification settings

JesusM/LfloatLabelLayout

Repository files navigation

LfloatingLabelLayout

A small adaptation for Android of the new Material design's text fields

It has the same setText methods as a simple EditText:

-setError(CharSequence error)

-setError(CharSequence error, Drawable icon)

Both methods adapted from: http://developer.android.com/reference/android/widget/TextView.html#setError(java.lang.CharSequence)

A sample screenshot with an information label:

![Sample] (images/Screenshot_2014-10-27-09-12-52.png)

and with an error message:

![Photo with an error message] (images/Screenshot_2014-10-27-09-13-00.png)

You can configure a custom icon for your error messages (see screenshot below):

![Error message with custom icon] (images/Screenshot_2014-10-27-09-13-08.png)

About

A small adaptation for Android of the new Material design's text fields

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published