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.
Lets start implementing Floating Label on EditText.
1.Create new Android project in Android Studio.
2. Open Module gradle file.
3. Add below dependencies.
You can check more informative blogs and tutorials at android development blogs section and can also browse the android developer forum for posting and viewing latest questions on android development.