tyrantgit / ExplosionField

explosive dust effect for views
3.6k stars 578 forks source link

Reset view position after the shiving animation #7

Closed anthonyst91 closed 8 years ago

anthonyst91 commented 8 years ago

This is mandatory to reset the view position (setTranslationX and setTranslationY both to 0) because after the shiving animation, the last two random translations applied will be retained.

tyrantgit commented 8 years ago

the target view will finally become invisible,so the final position is no a thing of matter

anthonyst91 commented 8 years ago

Yeah, but if you want the view reappearing after the explosion animation, its position may unfortunately be changed