A basic animation not showing up
<p>I still try different basics with android, and now I'm stuck with animation. I'm trying to implement a simple animation. I've defined animation in xml file like this:</p>

<p><code>alpha android:interpolator="@android:anim/accelerate_interpolator" android:fromAlpha="0.0" android:toAlpha="1.0" duration="3000" repeatCount="infinite"</code></p>

<p>In my main view group I have an ImageView defined like this:</p>

<pre><code>&lt;ImageView android:id="@+id/someb" android:src="@drawable/earth_normal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:padding="5dip"/&gt;
</code></pre>

<p>And this is from my starting activity class:</p>

<p>public class Ohayou extends Activity {</p>

<pre><code>@Override
public void onCreate(Bundle savedInstanceState) {

    super.onCreate(savedInstanceState);

    setContentView(R.layout.main);

    ImageView earth = (ImageView)findViewById(R.id.someb);
    Animation earthFadeInAnimation = AnimationUtils.loadAnimation(this, R.anim.fade_in);
    earth.startAnimation(earthFadeInAnimation);
}
</code></pre>

<p>It finds ImageView successfuly and creates animation. but when I start emulator ImageView just shows the original src image, not an animation. What am I doing wrong?</p>

<p>Thanks</p>
