title: Using a ValueAnimator to make a TextView blink different colors
body: <p>I want to use a <code>ValueAnimator</code> to make a <code>TextView</code>'s text color blink twice between two different colors but I want to create the Animation in XML. I cannot find any examples. Any help will be appreciated.</p>
  
  <p><strong>Update</strong></p>
  
  <p>The code below works perfect.  The color changes from black to blue, blue to black, black to blue, and blue to black with 500ms in between each reverse repeat.  I'm however trying to get this to work from an animator xml file.  </p>
  
  <pre><code>ValueAnimator colorAnim = ObjectAnimator.OfInt(objectToFlash, "textColor", (int)fromColor, (int)toColor);
  colorAnim.SetDuration(500);
  colorAnim.SetEvaluator(new ArgbEvaluator());
  colorAnim.RepeatCount = 3;
  colorAnim.RepeatMode = ValueAnimatorRepeatMode.Reverse;
  </code></pre>
  
  <p><strong>xml</strong></p>
  
  <pre><code>&lt;objectAnimator xmlns:android="http://schemas.android.com/apk/res/android"
          android:propertyName="textColor"        
          android:duration="500"
          android:valueFrom="@color/black"
          android:valueTo="@color/ei_blue"
          android:repeatCount="3"
          android:repeatMode="reverse" /&gt; 
  </code></pre>
  
  <p><strong>Code</strong></p>
  
  <pre><code>ValueAnimator anim = (ObjectAnimator)AnimatorInflater.LoadAnimator(Activity, Resource.Animator.blinking_text);
  anim.SetTarget(objectToFlash);
  </code></pre>
  
  <p>Using xml causes the color of the <code>TextView</code>'s text color to change as many times as it can within 500ms.</p>
  
  <p><strong>Update</strong>
  I think what I need are Keyframes to mimic in xml what the OfInt call is doing programmatically.  Trying this now but no luck so far.</p>