title: TextInputEditText border disappear when setError() is called
body: <p>I'm using a style for <code>TextInputEditText</code> to put a border around the field and I'm using<code>TextInputLayout</code> to set error messages. But when <code>setError ()</code> is called the border disappears and remains only a space in place that should have a field.</p>
  
  <p><strong>xml:</strong></p>
  
  <pre><code> &lt;android.support.design.widget.TextInputLayout
                  android:id="@+id/input"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:padding="5dp"&gt;
  
                   &lt;android.support.design.widget.TextInputEditText
                      android:id="@+id/edittext"
                      android:layout_width="300dp"
                      android:layout_height="wrap_content"
                      style="@style/EditTextStyle"
                      android:textColor="@color/secondary_text"
                      android:paddingTop="@dimen/float_hint_margin"
                      android:textSize="15dp" /&gt;
              &lt;/android.support.design.widget.TextInputLayout&gt;
  </code></pre>
  
  <p><strong>EditTextStyle:</strong></p>
  
  <pre><code>&lt;style name="EditTextStyle"&gt;
          &lt;item name="android:textColor"&gt;@color/secondary_text&lt;/item&gt;
          &lt;item name="android:background"&gt;@drawable/lgedittext&lt;/item&gt;
          &lt;item name="android:paddingTop"&gt;5dp&lt;/item&gt;
          &lt;item name="android:textSize"&gt;12dp&lt;/item&gt;
          &lt;item name="android:layout_marginTop"&gt;5dp&lt;/item&gt;
          &lt;item name="android:layout_height"&gt;30dp&lt;/item&gt;
      &lt;/style&gt;
  </code></pre>
  
  <p><strong>lgedittext:</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;layer-list xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;item android:top="@dimen/float_hint_margin"&gt;
          &lt;shape&gt;
              &lt;solid android:color="@color/icons" /&gt;
              &lt;stroke
                  android:width="1dp"
                  android:color="@color/divider" /&gt;
              &lt;corners android:radius="8dp" /&gt;
          &lt;/shape&gt;
      &lt;/item&gt;
  &lt;/layer-list&gt;
  </code></pre>
  
  <p><strong>Activity</strong>:</p>
  
  <pre><code>final TextInputEditText field = (TextInputEditText) dialog.findViewById(R.id.edittext);
  final TextInputLayout input = (TextInputLayout) view.findViewById(R.id.input);
  String text = field.getText().toString();
     if (!text.equals("")) {
        //do something
     } else {
        input.setError(getString(R.string.error_empty));
     }
  </code></pre>