Анимационный список не работает - показывает только первый элемент

Problem: Показывает только первый элемент в списке анимаций.

Animation list drawable file in res/drawable:




  
  


Starting the animation:

    ImageView image = (ImageView) findViewById(R.id.imageView1);
    image.setBackgroundResource(R.drawable.screensaver_image);
    ((AnimationDrawable) image.getBackground()).start();

Documentation (scroll to Frame animation)

8
задан Indrek Kõue 4 January 2012 в 11:35
поделиться