1

2 つの animationdrawables を交互に再生したい..

最初の1つが停止すると、他の1つが起動する必要があります..

問題は:

AnimationListener は animationdrawables では使用できません

誰かが解決策を知っていますか?

ありがとうございました

4

1 に答える 1

1

このコードを試してください

 final Handler handler = new Handler();
                                handler.postDelayed(new Runnable() {
                                  public void run() {
                                      //start 2nd animation
                                  }
                                }, delay);//delay is the time for how long 1st animation takes to complete
于 2013-04-02T12:18:25.247 に答える