Try specifying the repeat (and maybe the right duration) in the XML
instead of in Java. That should not make a difference, but it is at
least worth a try.

Otherwise, I see nothing obviously wrong.

On Thu, Dec 23, 2010 at 3:47 PM, John Lussmyer <johnlussm...@gmail.com> wrote:
> Using "this" instead of getBaseContext() made no difference.
> listener onAnimationRepeat() is never called.
> Very simple animation:
>
> <set xmlns:android="http://schemas.android.com/apk/res/android";
> android:shareInterpolator="false">
>    <translate
>
> android:interpolator="@android:anim/accelerate_decelerate_interpolator"
>           android:fillAfter="false"
>           android:fromXDelta="50%p"
>           android:toXDelta="-50%p"
>           android:duration="100" />
> </set>
>
>
>
> On Thu, Dec 23, 2010 at 12:42 PM, Mark Murphy <mmur...@commonsware.com>
> wrote:
>>
>> Try using:
>>
>> this
>>
>> instead of:
>>
>> getBaseContext()
>>
>> Also:
>>
>> -- Does your listener get called with onAnimationRepeat()?
>>
>> -- What is the animation?
>>
>
> --
> 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



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
Available!

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