title: TextInputLayout has no effect for giving hint programmatically in EditText
body: <p>I have an EditText and it's parent is TextInputLayout.
  I am trying to give hint programmatically for EditText, (not in layout)
  in this case Text input hint animation is not working, it's working like simple EditText. can some one suggest how to handle it.</p>
  
  <p>below is my layout.</p>
  
  <pre><code>&lt;android.support.design.widget.TextInputLayout
      android:id="@+id/text_input_layout"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"&gt;
  
      &lt;EditText
          android:id="@+id/post_EditTextPostAnAd"
          style="@style/abc_EditView" /&gt;
  
  &lt;/android.support.design.widget.TextInputLayout&gt;
  </code></pre>