views:

343

answers:

0

Hi all.

I'm trying to concatenate two frame based animations. I've tried some approaches without success:

1.- I've tried to use an ImageView and change the backgroundResource when required but the resource isn't changed.

2.- I've tried also using two ImageViews, set one animation to each and set visibility to Invisible for the second. At the moment of changing, the only change is to switch visibilities and start the second animation. Also doesn't work.

I've found something interesting that is, using the same scenario as in 2. Starting the activity with both imageViews visibile, the concatenation is successfull. Even setting the first imageView to invisible!! But I cannot go ahead with the first frame of the second animation being visible while the first animation is running.

Any advice? Thanks. Carlos