Floating Label EditText Example Using Android Design Support Library

While typing in EditText , it hides the hint which may create problem to identify EditText without label but now with the help of new android material design support library, we have TextInputLayoutwhich shows hint as Floating Label EditText.

We can also set error message bellow the EditText by just calling setError() method.

Floating Label EditText Example Using Android Design Support Library

If you miss previous sections of “Android Design Support Library Tutorial” series, check below links. For overview of the series, refer to the “Design Support Library Intro“.