title: EditText getHint() returns null when using design support library
body: <p>When using EditText in combination with Design lib's (ver 22.2.1) TextInputLayout getting hint programmatically returns null. </p>
  
  <p>I'm trying to append asterisk '*' to a mandatory field programmatically, hence <code>EditText.getHint()</code> but the fact that it returns null is an issue in this case. </p>
  
  <pre><code>EditText editText = (EditText) findViewById(R.id.edit2);
  String hint = String.format("%s *", editText.getHint());
  editText.setHint(hint);
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/MI6Jk.png" rel="noreferrer"><img src="https://i.stack.imgur.com/MI6Jk.png" alt="Asterisk overlays the hint"></a></p>
  
  <p>A simple code illustration:
  Layout.xml:</p>
  
  <pre><code>&lt;android.support.design.widget.TextInputLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"&gt;
      &lt;EditText
              android:id="@+id/edit2"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:hint="@string/hello_world"
              android:inputType="text"/&gt;
  &lt;/android.support.design.widget.TextInputLayout&gt;
  </code></pre>
  
  <p>Java:</p>
  
  <pre><code>EditText editText = (EditText) findViewById(R.id.edit2);
  if (editText.getHint() == null) throw new AssertionError("Hint should not be null");
  </code></pre>
  
  <p>dependency: compile 'com.android.support:design:22.2.1'</p>
  
  <p>Previously related issue <a href="https://stackoverflow.com/questions/30537413/textinputlayout-not-showing-edittext-hint-before-user-focus-on-it" title="No hint showing issue">here</a>!</p>