Layout of my Alpha Animation File
<p>First of all Im trying to animate a TextView view in one of my app's but it doesn't seem to work. I believe the answer lies in the alpha.xml file; I keep getting an error from this file but can't determine why:</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;alpha
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:fromAlpha="0.0"
    android:toAlpha="1.0"
    android:duration="3000"&gt;
&lt;/alpha&gt;
</code></pre>

<p>Also I later want to animate an entire activity before it appears. This screen will simply be the splash/load screen an should animate on over a period of time. </p>

<p>Any ideas?
Cheers</p>

<p>The java code which uses it goes like this:</p>

<pre><code>private void RunAnimations() 
        {
        Animation a = AnimationUtils.loadAnimation ( this, R.anim.alpha );
        a.reset();

        TextView tv = (TextView) findViewById( R.id.welcomeMessage );
        tv.clearAnimation();
        tv.startAnimation( a );
    }
</code></pre>

<p>The error in the XML file is:</p>

<p>Multiple annotations found at this line:
    - Element type "alpha" must be followed by either attribute specifications, ">" or "/</p>

<blockquote>
  <p>".
      - error: Error parsing XML: not well-formed (invalid token)</p>
</blockquote>

<p>:/</p>
