samedi 9 janvier 2016

How do I get a drawable animation of an ImageView to move left and right when I press a button

Vote count: 0

I am using Android Studio trying to get an ImageView object to move left and right when I press a left or right button. My problem is when I want to change directions the animation starts over again from the ImageView's initial position, how can I get the location of the translated object and use the animation on that instead?

asked 2 mins ago

This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at http://ift.tt/jcXqJW.



How do I get a drawable animation of an ImageView to move left and right when I press a button

Aucun commentaire:

Enregistrer un commentaire