I want my image to be rotated horizontally 4 times and at the same time to reduce it.
I have the following code for flipping:
ObjectAnimator flipAnimation = ObjectAnimator.ofFloat(view, "rotationY", 0.0f, 1440f); flipAnimation.setDuration(4000); flipAnimation.start();
And for scaling, I have the following code in scale_down.xml:
<scale android:duration="4000" android:fromXScale="1" android:fromYScale="1" android:pivotX="50%" android:pivotY="50%" android:toXScale="0.1" android:toYScale="0.1" > </scale>
However, when I run my application on an emulator in eclipse, the inverted image shows an uncomfortable effect. As you can see from the images, sometimes when turning one vertical side is longer than the other, making the effect of stretching, which I do not want. Anyone help eliminate this effect?



source share