xml animations
Hi! I got two animations. One I want to show one time and the other one infinite... It's probably easy, but I don't know how to do that... That's my xml-file: <?xml version="1.0" encoding="utf-8"?> <animation-list xmlns:android="http://schemas.android.com/apk/res/android" android:oneshot="false"> Todo: RUN one time: <item android:drawable="@drawable/animation_1_1" android:duration="100"/> <item android:drawable="@drawable/animation_1_2" android:duration="100"/> <item android:drawable="@drawable/animation_1_3" android:duration="100"/> <item android:drawable="@drawable/animation_1_4" android:duration="100"/> stop Todo: RUN Infinite: <item android:drawable="@drawable/animation_2_1" android:duration="100"/> <item android:drawable="@drawable/animation_2_1" android:duration="100"/> <item android:drawable="@drawable/animation_2_1" android:duration="100"/> <item android:drawable="@drawable/animation_2_1" android:duration="100"/> </animation-list>