开发者

android translateAnimation

If I have two views, is it possible to create in a view 开发者_如何学Goa translate animation and even if the object moves outside his view, the view's height and width remain unchanged? I need to show moving object only inside his view.


View Animations on a view are always clipped to the parent view - it is common to translate by +/- 100% to ensure the view is moved completely out of the parent and works well without the view overdrawing any other aspect of the screen.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜