It working , i just change the time duration for each frame and its
working..

Nithin

On Apr 29, 11:04 am, Nithin <nithin.war...@gmail.com> wrote:
> Hi,
>
> I am doing frame by frame Animation in java. I created bitmap,
> converted to drawable and added all the drawable to AnimationDrawable
> using addFrame() and set the time duration. Then I created a timer and
> and and inside that , I am calling animationDrawable.start(), but its
> showing only the first frame, animation is not taking place. I am
> doing this in a class which extends ImageView and to this class I am
> setting the setBackgroundDrawable() to my animationDrawable
>
> Nithin
>
> --
> 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 
> athttp://groups.google.com/group/android-developers?hl=en

-- 
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

Reply via email to