Existing library for reproducing a larger image. Foursquare android app screen effect.

I am looking for a library or existing code that reproduces the effect of image enlargement / image enlargement, which can be found in the Foursquare Android application.

Here is the effect I would like to reproduce: https://drive.google.com/file/d/0B5uiJlSSk9dZclZENm1pZTVlaEk/edit?usp=sharing

This effect creates 2 things:

  • Slow image reduction;
  • And at the same time, slow translation animation

could you help me?

thank

+4
source share
3 answers

, .

+3

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);
+1

, Thats .

, .

URL- ImageView .

+1

Source: https://habr.com/ru/post/1532362/


All Articles