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

Reply via email to