开发者

How can I make a credit page like the credit page of "angry bird"?

I want to make a credit page.

Therefore, a automatically rolling page is needed.

I had tried the method of animation.

TranslateAnimation am = new TranslateAnimation(0开发者_如何学Go, 0, 0, -(1884+342));
am.setDuration(30000);
am.setRepeatMode(Animation.RESTART);    
am.setRepeatCount(Animation.INFINITE);
containView.setAnimation(am);

However, the view can not be rolling by finger event if I register the onClick event.

Does it any way to make a credit page like angry birds?


What exactly is your problem ?

did you try doing something like

1) register anmation on your panel

2) register listener that stops the animation on click to allow the default behavior to run normally

3) on finger up you start an new animation form the ne point our at

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜