Recently google introduced new Android Design Library in that how to use `TextInputLayout` field to enable the Floating Hint feature of EditText.

Not much guidance is available [here](http://android-developers.blogspot.in/2015/05/android-design-support-library.html).

This page says

> 
> you can now wrap it in a TextInputLayout
> 
> 
> 

But No idea because smart prediction (Ctrl+SPACE) doesn't predicts any attributes to the TextInputLayout. So my questions are:

How do we get hold of the EditText underlying this component?

How can we get data from EditText?