I use an animation that flips (on ImageView ), but the animation works behind the scenes (looks like a performance issue). The image is a 128x128 PNG file.
Here I will post my animation code:
<set xmlns:android="http://schemas.android.com/apk/res/android" android:shareInterpolator="false"> <scale android:fromXScale="1.0" android:toXScale="0.0" android:fromYScale="1.0" android:toYScale="1.0" android:pivotX="50%" android:pivotY="50%" android:duration="500" android:fillAfter="false" android:fillEnabled="false" /> </set>
I also want to emphasize that the containing view can contain up to eight such ImageViews (which also scale).
Could you provide me with any recommendations that can improve animation performance?
performance android animation
Lyubomyr dutko
source share