title: InputTextLayout, setting Error Text as Helper Text (of different color)
body: <p>Android provided a widget called TextInputLayout
  <a href="https://developer.android.com/reference/android/support/design/widget/TextInputLayout.html" rel="nofollow">https://developer.android.com/reference/android/support/design/widget/TextInputLayout.html</a></p>
  
  <p>This could provide Hint and Error, which is excellent wrapper around EditText.</p>
  
  <p>There's also seemingly a guideline on it in <a href="https://material.google.com/patterns/errors.html#errors-user-input-errors" rel="nofollow">https://material.google.com/patterns/errors.html#errors-user-input-errors</a></p>
  
  <p>With that, it show Hint and Error. And also it has Helper Text. This is where it is useful for password setup. E.g. before someone enter a password, the ErrorText is show as HelperText, distinguish by a different color (in grey instead of red as per the example).</p>
  
  <p>When I look at TextInputLayout, it does have the two functions</p>
  
  <pre><code>setError(CharSequence error) 
  </code></pre>
  
  <p>and</p>
  
  <pre><code>setHint(CharSequence hint) 
  </code></pre>
  
  <p>However, there's no way to change the ErrorText to HelperText. Did I miss anything, or it's just TextInputLayout provided by Support Library is not giving us the feature as per Google recommended in its material guideline?</p>
  
  <p>p/s: I know how to change ErrorText color by setting through the style. But this doesn't help as it can't change dynamically while the app is running (e.g. change the state from error to helper and vice versa).</p>