I have a simple activity that shows 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 [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
---
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 [email protected].
For more options, visit https://groups.google.com/d/optout.