开发者

android translateAnimation

开发者 https://www.devze.com 2023-03-14 05:42 出处:网络
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 sho

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

精彩评论

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