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"

Leave a Comment