How to animate a view in Android and have it stay in the new position/size?
Make sure you add below attributes to the root element in your animation xml:
android:fillAfter="true"
android:fillEnabled="true"
try constructing the animation from code and setting the properties like this
anim.setFillEnabled(true);
anim.setFillAfter(true);