Using a layoutanimation on one of my views.
android:layoutAnimation="@anim/animate_layout"
The animation is done each time one enters that view. It will however not run if that view was already active and the user changed to another application and then returned to it. In order to do that, I need to overwrite the onresume() method and call it from there.
How can I call the layoutAnimation from within the code in order to run it again for the whole layout?
Another option, besides what Pentium10 suggested, would be trying to do this:
Where
ctxcould be something likeYourActivity.this, and target is theViewyou want to animate.