Floating Label in Edittext with TextInputLayout Android Material Design

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.

floating_image

– See more at: Floating Label in Edittext with TextInputLayout Android Material Design

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.

Advertisements
Floating Label in Edittext with TextInputLayout Android Material Design

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s