I make the simplest animation you need to make the picture jump up and back into place. For this, we have this XML
<scale android:duration="50" android:fillAfter="false" android:fromXScale="1" android:fromYScale="1" android:pivotX="0%" android:pivotY="0%" android:repeatCount="3" android:toXScale="2" android:toYScale="2" /> I want to make the bouncing effect simply by increasing the image by 2 times in a very short period of time (50 ms), but the problem is that the picture in my case increases from the upper left corner, as far as I know from the upper left corner, in principle, everything starts It is drawn on the screen of the device and due to this my karinka does not increase from the middle to the side, but from the left corner it turns out not at all what was intended ...
Help fix how to make the picture grow from the middle?