现有的库,以重现放大的imageView效果的Foursquare android应用程序



我正在搜索一个库或现有的代码,再现放大/缩小imageview效果,可以在Foursquare Android应用程序中找到。

下面是我想要复制的效果:https://drive.google.com/file/d/0B5uiJlSSk9dZclZENm1pZTVlaEk/edit?usp=sharing

这个效应产生了两个结果:

  • 图像缓慢缩小;
  • 和在同一时间,一个缓慢的翻译动画

你能帮我吗?

谢谢

我想这就是Ken Burns效应。

试试这个

它是一个自定义的imageview库

你需要在你的ImageView动画教程访问上玩动画http://www.androidhive.info/2013/06/android-working-with-xml-animations/, http://developer.android.com/guide/topics/graphics/view-animation.html

通过调用

与ImageView一起实现这些动画
 ImageView image1 = (ImageView)findViewById(R.id.imageView1);
        Animation animation1 = AnimationUtils.loadAnimation(getApplicationContext(), R.anim.youranimation);
        image1.startAnimation(animation1);

是的,这叫做Ken Burns效应。

我认为这个图书馆更好。

你可以使用这个库加载一个url到ImageView。

相关内容

最新更新