title: Continuously animate Text from left to right
body: <p>I'm trying to create an animation which moves a <code>TextView</code> from left to right and loop indefinitely. This is the <code>TextView</code> I want to animate:</p>
  
  <pre><code>&lt;TextView
      android:id="@+id/txtTitle"
      android:layout_width="280dp"
      android:layout_height="wrap_content"
      android:textSize="16sp"
      android:textStyle="italic"
      android:layout_marginLeft="20dp"
      android:layout_marginRight="20dp"
      android:layout_marginTop="20dp"
      android:ellipsize="end"
      android:maxLines="1"
      android:layout_centerHorizontal="true"
      android:layout_below="@id/cardView" /&gt;
  </code></pre>
  
  <p>And this how I am trying to animate the <code>TextView</code>:</p>
  
  <pre><code>Animation animation = new TranslateAnimation(0, -280, 0, 0);
  animation.setDuration(9000);
  animation.setRepeatMode(Animation.RELATIVE_TO_SELF);
  animation.setRepeatCount(Animation.INFINITE);
  textView.setAnimation(animation);
  </code></pre>
  
  <p>What I want to achieve is for the text to start out in the center of the screen, move to the right and once the first letter leaves the screen it should reappear on the other side.</p>