Tell me how to make an animation in ImageButton through Scale so that it decreases to a certain point and immediately returns to its original size.
Tried so
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/accelerate_interpolator"> <scale android:fromXScale="0.1" android:toXScale="1.0" android:fromYScale="0.1" android:toYScale="1.0" android:duration="1000" android:pivotX="50%" android:pivotY="50%" android:startOffset="100" /> </set> but the button is greatly reduced sharply and smoothly to its original state, but I would like it to decrease slightly, and also return smoothly. Type of pressing effect