title: TextInputLayout hint color
body: <p>I'm using new Google design library (com.android.support:design:22.2.0) and I have problem with <strong>android.support.design.widget.TextInputLayout</strong>.</p>
  
  <p>If I set its EditText programmatically, floating hint color is gray instead of accent color. It works if user fills field (EditText) itself or if he changes preddefined value of field.</p>
  
  <p>This is my code:</p>
  
  <pre><code>&lt;android.support.design.widget.TextInputLayout
          android:layout_height="wrap_content"
          android:layout_width="match_parent"&gt;
          &lt;EditText
              android:id="@+id/register_username"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:hint="@string/register_username"
              android:inputType="text"/&gt;
  &lt;/android.support.design.widget.TextInputLayout&gt;
  </code></pre>
  
  <p>After user clicks some button it fill field via setText() method of EditText and floating hint becomes gray. Is it bug or I'm missing something?</p>