title: an issue with copy in EditText (android)
body: <p>I'm getting this error  when trying to copy text in editText :</p>
  
  <pre><code>    Exception java.lang.NumberFormatException: Invalid int: "res/drawable/edit_text_material.xml"
  java.lang.Integer.invalidInt (Integer.java:138)
  java.lang.Integer.parse (Integer.java:410)
  java.lang.Integer.parseInt (Integer.java:367)
  com.android.internal.util.XmlUtils.convertValueToInt (XmlUtils.java:133)
  android.content.res.TypedArray.getInt (TypedArray.java:357)
  android.view.animation.Animation.&lt;init&gt; (Animation.java:248)
  android.view.animation.AnimationSet.&lt;init&gt; (AnimationSet.java:81)
  android.view.animation.AnimationUtils.createAnimationFromXml (AnimationUtils.java:117)
  android.view.animation.AnimationUtils.createAnimationFromXml (AnimationUtils.java:95)
  android.view.animation.AnimationUtils.loadAnimation (AnimationUtils.java:76)
  android.widget.Editor$SelectionPopupWindow.createAnimations (Editor.java:4086)
  android.widget.Editor$ActionPinnedPopupWindow.&lt;init&gt; (Editor.java:2543)
  android.widget.Editor$ActionPopupWindow.&lt;init&gt; (Editor.java:3577)
  android.widget.Editor$SelectionPopupWindow.&lt;init&gt; (Editor.java:4074)
  android.widget.Editor$SelectionHandleView.getActionPopupWindow (Editor.java:5337)
  android.widget.Editor$SelectionModifierCursorController.show (Editor.java:5305)
  android.widget.Editor.startSelectionActionMode (Editor.java:1715)
  android.widget.Editor.performLongClick (Editor.java:1020)
  
  android.app.ActivityThread.main (ActivityThread.java:5438)
  java.lang.reflect.Method.invoke (Method.java)
  com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:738)
  com.android.internal.os.ZygoteInit.main (ZygoteInit.java:628)
  </code></pre>
  
  <p>This is my layout:</p>
  
  <pre><code>       &lt;android.support.design.widget.TextInputLayout
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:layout_marginBottom="10dp"
                  android:textColorHint="#565d66"&gt;
  
                  &lt;EditText
                      android:id="@+id/userEditText"
                      android:layout_width="match_parent"
                      android:layout_height="wrap_content"
                      android:hint="@string/registration.hint.user"
                      android:textColor="#565d66"
                      android:theme="@style/Custom.EditText" /&gt;
  
              &lt;/android.support.design.widget.TextInputLayout&gt;
  
  
  
  // this is the theme i'm using in editText:
  
        &lt;style name="Custom.EditText" parent="Base.Widget.AppCompat.EditText"&gt;
          &lt;item name="colorControlNormal"&gt;#565d66&lt;/item&gt;
          &lt;item name="colorControlHighlight"&gt;@color/colorPrimary&lt;/item&gt;
          &lt;item name="colorControlActivated"&gt;@color/colorPrimary&lt;/item&gt;
      &lt;/style&gt;
  </code></pre>
  
  <p>android version : 6.0.1 , device : redmi note 4</p>