There is a normal scaling animation.
<scale android:fromXScale="1.0" android:fromYScale="1.0" android:pivotX="50%" android:pivotY="50%" android:toXScale="1.3" android:toYScale="1.3" android:duration="1000" /> I need to, at the end of the animation, the image remains in the state of Scale = 1.3, and does not go into the initial phase of Scale = 1.0.
I tried to programmatically establish that at the end of the animation the desired image becomes Scale = 1.3, but it does not work correctly, the picture is twitching.
scale.setAnimationListener(new Animation.AnimationListener() { @Override public void onAnimationEnd(Animation animation) { start1_value=1; Start1.setScaleX((float) 1.3); Start1.setScaleY((float) 1.3); } }); Tell me, how can I solve this problem?