From 5.0 Lollipop version Android add some designing functionality with Material design. The one is Floating Label on Edit Text.
Before Material design EditText will hide the hint text after the first character is typed. But with the help of TextInputLayout hint text will animate to top of EditText.
For full information, Visit full Blog:
http://findnerd.com/list/view/Floating-Label-in-Edittext-with-TextInputLayout-Android-Material-Design-/7675/