In my app, animated image should repeat every time with different time interval.
like i want any of between 1000 to 5000.
I applied below code but this not work properly. Image move very fast.
So, plz help me out of this problem.
Random gen = new Random();
anim.setDuration(new Random().nextInt(5000-1000+1));
I think you just need to set interpolator.
So its speed will be proportioned