android View的事件体系 scrollTo和scrollBy的区别
scrollTo 和srollBy是View的两个方法。用来改变控件内容的位置。只是内容的位置移动,所属的View的位置是不变的。
/**
* Set the scrolled position of yourview. This will cause a call to
* {@link #onScrollChanged(int,int, int, int)} and the
原创
2016-05-12 12:45:06 ·
620 阅读 ·
0 评论