title: TextInputLayout error after enter value into edittext
body: <p>How can i hide a <code>TextInputLayout</code> error after input one text in <code>EditText</code>.
  Is it possible? </p>
  
  <p>how can i achieve this or I am doing something wrong here.!!</p>
  
  <p><a href="https://i.stack.imgur.com/WWRAr.png" rel="noreferrer"><img src="https://i.stack.imgur.com/WWRAr.png" alt="enter image description here"></a></p>
  
  <p><strong>code</strong></p>
  
  <pre><code>    layoutEdtPhone =(TextInputLayout)rootView.findViewById(R.id.layoutEdtPhone);
      layoutEdtPhone.setErrorEnabled(true);
      layoutEdtPhone.setError(getString(R.string.ui_no_phone_toast));
      layoutEdtPassword =   (TextInputLayout)rootView.findViewById(R.id.layoutEdtPassword);
      layoutEdtPassword.setErrorEnabled(true);
      layoutEdtPassword.setError(getString(R.string.ui_no_password_toast));
  
      edtPhone=(EditText)rootView.findViewById(R.id.edtPhone);
      edtPassword=(EditText)rootView.findViewById(R.id.edtPassword);
  </code></pre>
  
  <p><strong>xml</strong>
      </p>
  
  <pre><code>            &lt;EditText
                  android:id="@+id/edtPhone"
                  android:layout_width="fill_parent"
                  android:layout_height="wrap_content"
                  android:layout_marginTop="100dp"
                  android:background="@drawable/edt_background_selector"
                  android:drawableLeft="@drawable/phone_icon"
                  android:drawableStart="@drawable/phone_icon"
                  android:hint="@string/phone"
                  android:inputType="phone"
                  android:padding="5dip"
                  android:singleLine="true"
                  android:textSize="14sp" /&gt;
          &lt;/android.support.design.widget.TextInputLayout&gt;
  
          &lt;android.support.design.widget.TextInputLayout
              android:id="@+id/layoutEdtPassword"
              android:layout_width="fill_parent"
              android:layout_height="wrap_content" &gt;
  
              &lt;EditText
                  android:id="@+id/edtPassword"
                  android:layout_width="fill_parent"
                  android:layout_height="wrap_content"
                  android:layout_marginTop="16dp"
                  android:background="@drawable/edt_background_selector"
                  android:drawableLeft="@drawable/password_icon"
                  android:drawableStart="@drawable/password_icon"
                  android:hint="@string/password"
                  android:inputType="textPassword"
                  android:padding="5dip"
                  android:singleLine="true"
                  android:textSize="14sp" /&gt;
          &lt;/android.support.design.widget.TextInputLayout&gt;
  </code></pre>