阅读背景:

如何使用ObjectAnimator基于拖动动作平滑地向上/向下动画视图?

来源:互联网 

I created a view that has a MapFragment that occupies the top 1/3 of the screen and a ListView that occupies the bottom 2/3 of the screen. The ListView has a "handle" directly above its list items that the user can use to drag the entire ListView up or down. Once the user releases their finger off of the screen the ListView should animate to the closet top or bottom border of the entire screen. I have it working so far but the animation is not smooth. There is a noticeable pause, after the user release their finger from the screen, before the ListView starts animating towards the closest edge. I'm using the nineoldandroids implementation of ObjectAnimator so that the animations work on pre-Honeycomb devices. Any ideas? I created a view that has a MapFragment that oc




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: