title: Animation <Set> property android:repeatMode will not accept an int
body: <p>According to the <a href="https://developer.android.com/reference/android/view/animation/Animation.html#attr_android%3arepeatMode" rel="nofollow">docs</a> I would put either a 1 or 2 as the value, however, upon attempting to launch my application, I get the error:</p>
  
  <pre><code>Error: Integer types not allowed (at 'repeatMode' with value '1').
  </code></pre>
  
  <p>and my Animation XML is:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;set xmlns:android="http://schemas.android.com/apk/res/android"
      android:repeatCount="0"
      android:repeatMode="1" &gt;
  
      &lt;alpha
          android:duration="1000"
          android:fromAlpha="0.0"
          android:toAlpha="1.0" &gt;
      &lt;/alpha&gt;
      &lt;alpha
          android:duration="500"
          android:fromAlpha="1.0"
          android:toAlpha="0.0" &gt;
      &lt;/alpha&gt;
  
  &lt;/set&gt;
  </code></pre>
  
  <p>What exactly am I missing?</p>