AndroidViewAnimations icon indicating copy to clipboard operation
AndroidViewAnimations copied to clipboard

Image after animation lost its scalex value.

Open sathley opened this issue 10 years ago • 1 comments

I have set android:scaleX="-1" on an imageview. If I animate this imageview, my image loses it's android:scaleX="-1" value. I want to animate my mirrored image. But I can't.

sathley avatar Apr 11 '15 01:04 sathley

I have a pull request showing how to fix similar issue; https://github.com/daimajia/AndroidViewAnimations/pull/117

Just go to the Animator class and adjust the values to take into consideration starting values of the view.

Jessicardo avatar Aug 16 '17 11:08 Jessicardo