I am looking for a method / algorithm to do the equivalent of setRotationY() (which is available from the Android API 11), but with the API 10.
Thank you for your help.
Update, Answer:
Use the Android library http://nineoldandroids.com/ by @JakeWharton (thanks Chris.Jenkins)
if (android.os.Build.VERSION.SDK_INT > 10)
this.mBehindView.setRotationY(180);
else
ObjectAnimator.ofFloat(this.mBehindView, "rotationY", 0, 180).setDuration(0).start();
I know we are not a LinkFactory but @JakeWharton spent time back porting the AnimationFramework from API11.
Checkout nineoldandroids.
Example:
ObjectAnimator.ofFloat(myView, "rotationX", 0, 90).setDuration(3000).start();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With