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