最后的逐幀動(dòng)畫漏說了一點(diǎn)點(diǎn)啊~~。要
imageView.setImageResource(R.drawable.anim_list);
AnimationDrawable animationDrawable = (AnimationDrawable) imageView.getDrawable();
animationDrawable.start();
【imageView 就是圖片】
這樣才可以動(dòng)起來。
imageView.setImageResource(R.drawable.anim_list);
AnimationDrawable animationDrawable = (AnimationDrawable) imageView.getDrawable();
animationDrawable.start();
【imageView 就是圖片】
這樣才可以動(dòng)起來。
2016-05-13