1.scrollTo和ScrollBy 为了实现滑动,View提供了两个方法来让我们实现这个功能,那就是scrollTo和scrollBy方法, scrollTo的方法如下: /** * Set the scrolled position of your view. This will cause a call to * {@link #onScrollChanged(int, int, int, int)} and the view will be * invalidated. * @para