0

I am a beginner and this is my source for my java class

ImageView i = (ImageView)findViewById(R.id.img1);
    if (i == null) throw new AssertionError();
    i.setBackgroundResource(R.drawable.source);



    AnimationDrawable pro = (AnimationDrawable)i.getDrawable();
Phantômaxx
  • 37,901
  • 21
  • 84
  • 115

0 Answers0