/LfloatLabelLayout

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

Primary LanguageJavaApache License 2.0Apache-2.0

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)