Skip to content Skip to sidebar Skip to footer

How To Rotate Imageview From Its Centre Position Using Object Animation

I am doing same as this link This is work fine but I want to move other images as well when image is move like this

Solution 1:

Try this code for object animation:

ObjectAnimator anim = ObjectAnimator.ofFloat(tvBorder, View.ROTATION, 60);
anim.setRepeatMode(ValueAnimator.REVERSE);
anim.start();

Post a Comment for "How To Rotate Imageview From Its Centre Position Using Object Animation"