Hi, I'm trying to implement Animation in my project....but i have no luck Below i will mention the code which i used.
res/drawable/anim <animation-list xmlns:android="http://schemas.android.com/apk/res/android" android:oneshot="false"> <item android:drawable="@drawable/load0" android:duration="60" /> <item android:drawable="@drawable/load1" android:duration="60" /> <item android:drawable="@drawable/load2" android:duration="60" /> <item android:drawable="@drawable/load3" android:duration="60" /> <item android:drawable="@drawable/load4" android:duration="60" /> <item android:drawable="@drawable/load5" android:duration="60" /> <item android:drawable="@drawable/load6" android:duration="60" /> <item android:drawable="@drawable/load7" android:duration="60" /> <item android:drawable="@drawable/load8" android:duration="60" /> </animation-list> src/project.java final AnimationDrawable yourAnimation; imageView.setBackgroundResource(R.drawable.anim); yourAnimation = (AnimationDrawable) imageView.getBackground(); yourAnimation.start(); Do you have any idea? Thanks in advance cibin -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en