一。分类 Tweened Animations:补间动画,也就是某一张图或者其他对象,进行旋转、变形等动画;Frame-By-Frame Animations:是多张图片进行一帧一帧的变化。二。补间动画Tweened Animations有4种样式,分别为Alpha,Rotate,Translate,Scale,分别表示渐变,旋转,位移,缩放Alpha:因为是渐变,所以需要给出改变之前的透明度,改变之后的透明度,总共改变的时间。Rotate:旋转,必定要知道旋转的圆心在哪边,所以要定义圆心的X与Y轴,以及转动的时间,转动的角度等。Translate:位移,即要知道原来对象的XY轴和改变后的XY Read More
posted @ 2014-03-31 16:02 等风来。。 Views(285) Comments(0) Diggs(0) Edit
getAction()returns a pointer id and an event (i.e., up, down, move) information.getActionMasked()returns just an event (i.e., up, down, move) information. Other info is masked out.For example:getAction()returns0x0105.getActionMasked()will return0x0005, which is 0x0105 &&ACTION_MASK.The value Read More
posted @ 2014-03-31 15:06 等风来。。 Views(259) Comments(0) Diggs(0) Edit
------------------------------------------------------------------------------------------------------------ --------------- 欢迎联系 x.guan.ling@gmail.com--------------- ------------------------------------------------------------------------------------------------------------