ViewRootImpl
http://blog.csdn.net/siobhan/article/details/8257334
getHitRect
http://www.eoeandroid.com/thread-246136-1-1.html
requestDisallowInterceptTouchEvent
http://www.cnblogs.com/xitang/archive/2013/06/22/3150380.html
VelocityTracker
http://www.cnblogs.com/xingmeng/archive/2012/08/15/2640052.html
getGlobalVisibleRect getLocationOnScreen 获取 view在屏幕中的坐标
http://daixj110.iteye.com/blog/1497554
declare-styleable的使用(自定义控件属性)
http://www.cnblogs.com/carlosk/archive/2012/06/06/2538336.html
左阴影
primaryShadowDrawable = new GradientDrawable(
Orientation.LEFT_RIGHT, new int[] { Color.TRANSPARENT,
Color.argb(99, 0, 0, 0) });
右阴影
secondaryShadowDrawable = new GradientDrawable(
Orientation.LEFT_RIGHT, new int[] {
Color.argb(99, 0, 0, 0), Color.TRANSPARENT });
关于ouTouchEvent应该返回true还是false,好像一直有误解