开发者

how to rotate an image back and forth in android

hai i want to rotate an image back and forth. 开发者_高级运维But now it is happening only one side.After the image reach the destination suddenly it will come back to its original position.I am using animation for rotation. Somebody help me to do this.


You have to enable fill on your animation, then enable "fill after." You can do this by calling setFillEnabled(true) then setFillAfter(true).

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜