版权声明:本文为xing_star原创文章,转载请注明出处!html
本文同步自http://javaexception.com/archives/221java
关键代码:git
final Animator circularReveal = ViewAnimationUtils.createCircularReveal(subsamplingScaleImageView, SystemUtils.getWindowWidth() / 2, ivScreenShot.getHeight() / 2, 0, SystemUtils.getWindowHeight() / 2); circularReveal.setInterpolator(new DecelerateInterpolator()); circularReveal.setDuration(400); circularReveal.start();
世面上上架的App能够参考的效果有:
https://play.google.com/store/apps/details?id=com.camerasideas.instashot&hl=en_US
https://play.google.com/store/apps/details?id=com.fakechatforwhatsapp.forfun
都是在分享页面,这个动画效果看起来还不错github
相似能够参考的动画效果
https://github.com/zhangke3016/ViewSpreadTranslationControllerapp
以上是页面的起始效果和结束效果,动画过程,能够去下载InShot App体验(算是免费给他们打广告了)。ide