title: How to use TextInputLayout in new android design library
body: <p>Recently google introduced new Android Design Library in that how to use <code>TextInputLayout</code> field to enable the Floating Hint feature of EditText.</p>
  
  <p>Not much guidance is available <a href="http://android-developers.blogspot.in/2015/05/android-design-support-library.html" rel="noreferrer">here</a>.</p>
  
  <p>This page says</p>
  
  <blockquote>
    <p>you can now wrap it in a TextInputLayout</p>
  </blockquote>
  
  <p>But No idea because smart prediction (Ctrl+SPACE) doesn't predicts any attributes to the TextInputLayout. So my questions are:</p>
  
  <p>How do we get hold of the EditText underlying this component?</p>
  
  <p>How can we get data from EditText?</p>