It's a framework bug that I recently fixed in cupcake.

You can work around this by setting the drawable not as the background
drawable of a View but as the content (in an ImageView for instance.)

On Wed, Jan 28, 2009 at 1:03 PM, blake <[email protected]> wrote:
>
> Apparently no-one else can figure it out, either... ;)
>
> -blake
>
> On Jan 27, 7:36 am, blake <[email protected]> wrote:
>> There's already been some discussion of this, in various lists and
>> blogs.  I finally got an AnimationDrawable to work, but I cannot start
>> it from onResume.  I can start it from a timer that onResume starts,
>> or an onClickHandler.
>>
>> I've poked around the source a bit and I can't figure out,
>> specifically, what state the view has to be in, in order for the
>> background AnimationDrawable to start.
>>
>> Can anyone enlighten me?
>>
>> Thanks
>>   -blake
> >
>



-- 
Romain Guy
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to