I just had to create a new object like

LinearInterpolator linint = new LinearInterpolator();
myanimation.setInterpolator(linint)

On Apr 9, 7:33 pm, quakeboy <prasna...@gmail.com> wrote:
> When ever I try to animate a view using a simple xml based animation,
> it seems to have default interpolator set of some kind as the motion
> is not truly linear.
>
> Is there a way to set the default animation interpolator to linear and
> remove the lag in the start/end of 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to