java - Infinite animation of imageview android -


this continuation of unsolved question can found here: animate imageview

for now, managed make imageviews move using

<?xml version="1.0" encoding="utf-8"?> <set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/accelerate_interpolator"> <translate android:fromxdelta="-100%p" android:toxdelta="0%" android:duration="2000"/> </set> 

but want accomplish images should accelerate left right , when reach end, should re-appear on activity again.

any , suggestion appreciated. thanks.

to repeat animation put:

android:repeatcount="-1" 

if wanna imageview reappear right left put:

android:repeatmode="reverse" 

Comments