私は現在 AnimationDrawable に取り組んでおり、すべてのドローアブル アイテムを左右のスワイプ ジェスチャで制御して巻き戻しと早送りを実行できるかどうか疑問に思っていました。ジェスチャが検出されない場合は停止する必要があります。
前もって感謝します。
ここに私のimageviewとanimationdrawableコードがあります:
imageView1 = (ImageView)findViewById(R.id.imageView1);
imageView1.setBackgroundResource(R.drawable.rotate_animation);
animationDrawable = (AnimationDrawable)imageView1.getBackground();
animationDrawable.start();