Hi

thanks for your answer, i tryed it, and not working :(

El domingo, 13 de julio de 2014 12:34:53 UTC+2, Sérgio Faria escribió:
>
> My guess would be that you're starting the animation before the view is 
> ready. 
> You can use an "old" Animation or try to start the Animator in 
> OnPreDrawListener or in onResume(). 
>
> 2014-07-13 10:44 GMT+01:00 saex  an animation with ObjectAnimator. The 
> > animation is created and started in onCreate method of the activity, it 
> is a 
> > very simple animation: 
> > 
> > cloudAnim = ObjectAnimator.ofFloat(cloud1ImageView, "x", sw); 
> >         cloudAnim.setDuration(35000); 
> >         cloudAnim.setRepeatCount(ValueAnimator.INFINITE); 
> >         cloudAnim.setRepeatMode(ValueAnimator.RESTART); 
> >         cloudAnim.setInterpolator(null); 
> >         cloudAnim.start(); 
> > 
> > it simply displays a cloud on the left of the screen and moves from the 
> left 
> > to the right. 
> > 
> > The problem is that in my nexus 5 (android 4.4 lastet version) the cloud 
> is 
> > doing a frame jump when the activity starts. 
> > 
> > This jump is only visible in my nexus 5, because i'm testing the app 
> also in 
> > a huawei ascend y300 devide with android 4.1 and the jump is not 
> visible, 
> > the movement is very smooth. 
> > 
> > What is wrong with ObjectAnimator and Android 4.4? 
> > 
> > Thanks 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> > Groups "Android Developers" group. 
> > To post to this group, send email to
> > To unsubscribe from this group, send email to 
> > For more options, visit this group at 
> > --- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "Android Developers" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
>

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to