Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

利用属性动画在Android4.x上实现Android L的元素转场动画效果(shared elements transition) | UncleChen的博客 #7

Open
unclechen opened this issue Nov 27, 2017 · 0 comments

Comments

@unclechen
Copy link
Owner

http://unclechen.github.io/2016/11/08/%E5%88%A9%E7%94%A8%E5%B1%9E%E6%80%A7%E5%8A%A8%E7%94%BB%E5%9C%A8Android4.x%E4%B8%8A%E5%AE%9E%E7%8E%B0Android%20L%E7%9A%84%E5%85%83%E7%B4%A0%E8%BD%AC%E5%9C%BA%E5%8A%A8%E7%94%BB%E6%95%88%E6%9E%9C/

一、背景随着谷歌推出的MaterialDesign不断被各种实践,最近我也碰到这么一个需求,就是要求实现一个图片的转场效果。在第一个界面上,图片被点击后,会渐渐地滑动到第二个界面中去。 其实仔细观察一下Google相册也有用到这种效果,大概的效果图是这样的: 按照我的理解,这种效果要是直接把View拿出来复用就可以。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment