Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我有两个视图,是否可以在视图中创建平移动画,即使对象移动到他的视图之外,视图的高度和宽度保持不变?我只需要在他的视野内显示移动的物体。
视图上的动画总是被剪裁到父视图 - 通常翻译 +/- 100% 以确保视图完全移出父视图并且工作良好,而视图不会覆盖屏幕的任何其他方面。