I need to be able to change the duration based on user input. Think bicycle wheel starts at a certain speed but slows down or speeds up based on user input. I'm new to Android and limited Java. So if some one could give me a code sample of how to do this, it would be appreciated.
Also, it would be great if I could re-set the duration for each individual frame but at this point if I can only re-set the duration for the entire list, that would be ok.
Below is the xml file.
<animation-list xmlns:android="http://schemas.android.com/apk/res/android"
android:oneshot="false">
<item android:drawable="@drawable/wheel1" android:duration="200" />
<item android:drawable="@drawable/wheel2" android:duration="200" />
<item android:drawable="@drawable/wheel3" android:duration="200" />
<item android:drawable="@drawable/wheel4" android:duration="200" />
</animation-list>

