i have a list sprites in drawable folder. One xml file with:
i used AnimationDrawable to run sprites on ImageView, now. i want to set duration properties by hand, if i have a seekbar to change this. How can i do that? Tell me
sr, my English gammar is bad!
PHP:
<?xml version="1.0" encoding="utf-8"?>
<animation-list xmlns:android="http://schemas.android.com/apk/res/android" >
<item android:drawable="@drawable/fire_00000" android:duration="400" />
<item android:drawable="@drawable/fire_00001" android:duration="400" />
<item android:drawable="@drawable/fire_00002" android:duration="400" />
<item android:drawable="@drawable/fire_00003" android:duration="400" />
<item android:drawable="@drawable/fire_00004" android:duration="400" />
</animation-list>
i used AnimationDrawable to run sprites on ImageView, now. i want to set duration properties by hand, if i have a seekbar to change this. How can i do that? Tell me
sr, my English gammar is bad!