在想,安卓WebView如何去实现平稳缓慢的滑动呢?

如题,大家有知道的吗?安卓WebView如何去实现平稳缓慢的滑动呢?

意思是想要动画效果吗?
如果是:
滑动效果代码如下:

WebView wb = (WebView)findViewbyId(R.id._id);
 AnimationSet set = new AnimationSet(true);
        //四个参数:自左右上下往对立方向效果
        TranslateAnimation trans = new TranslateAnimation(Animation.RELATIVE_TO_SELF, 1.0f, Animation.RELATIVE_TO_SELF, 0f,Animation.RELATIVE_TO_SELF , 0f,Animation.RELATIVE_TO_SELF, 0);
        trans.setDuration(500);
        set.addAnimation(trans);
        wb.startAnimation(set);

通过 ObjectAnimator
ObjectAnimator animator = ObjectAnimator.ofInt(webView,"scrollY",webView.getWebScrollY(),0);
animator.setDuration(300).start()