The window manager limits the duration of animations, I believe to 10
seconds or so.

Don't do this.  It is not right to have a window animation that runs
indefinitely.

On Thu, Aug 9, 2012 at 3:03 PM, danaimset <[email protected]> wrote:

> Hi Guys!
>
> I've face with problems with windowEnterAnimation.
> I'm trying to animate popup window over the view for infinite. But it
> seems that windowEnterAnimation has limitation of repeat count.
>
>
> <https://lh4.googleusercontent.com/-6Dx_kkoUFkg/UCQzPlhdp1I/AAAAAAAAECI/LuyFiRy9R2M/s1600/launcher.png>
>
>
> I'm using the following animation:
>
> <?xml version="1.0" encoding="utf-8"?>
> <set xmlns:android="http://schemas.android.com/apk/res/android"; >
>
>     <translate
>         android:duration="500"
>         android:fromYDelta="0"
>         android:interpolator="@android:anim/bounce_interpolator"
>         android:repeatCount="infinite"
>         android:repeatMode="reverse"
>         android:toYDelta="-20" />
>
> </set>
>
> And the following animation style for the popup window:
>
> <style name="AnimationPopup">
>         <item name="@android:windowEnterAnimation">@anim/jump_up</item>
>         <item name="@android:windowExitAnimation">@anim/alpha</item>
> </style>
>
> The animation is repeated only 10 times but not infinitely :(
>
> Maybe somebody could give some advice how this problem could be solved ?
>
> Thanks.
>
> Best Wishes,
> Dan.
>
>
>  --
> 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




-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  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