android 30月从入门到精通 onTouchEvent

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,好像一直有误解

http://blog.csdn.net/android_tutor/article/details/7193090

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

avi9111

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值