frame-by-frame animation API compatibilty
<p>I am using the following code to set Frmae-by-frame animation :</p>

<pre><code>    public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

        setContentView(R.layout.splash);



        final ImageView back = (ImageView) findViewById(R.id.splash_image);
        back.setBackgroundResource(R.drawable.splash_animation);

        AnimationDrawable frameAnimation = (AnimationDrawable) back.getBackground();

         // Start the animation (looped playback by default).
         frameAnimation.setExitFadeDuration(2000);
         frameAnimation.start();
}
</code></pre>

<p>However, the <code>setExitFadeDuration</code> only works after API level 11. Is there an alternative to the code that I used to make the animation compatible with API 7 onwards</p>
