摘要: Dragging This lesson describes how to use touch gestures to drag, using onTouchEvent() to intercept touch events. 1.Drag an Object If you are targetin 阅读全文
posted @ 2015-10-07 19:23 f9q 阅读(531) 评论(0) 推荐(0) 编辑
摘要: Handling Multi-Touch Gestures A multi-touch gesture is when multiple pointers (fingers) touch the screen at the same time. This lesson describes how t 阅读全文
posted @ 2015-10-07 18:55 f9q 阅读(405) 评论(0) 推荐(0) 编辑
摘要: Animating a Scroll Gesture In Android, scrolling is typically achieved by using the ScrollView class. Any standard layout that might extend beyond the 阅读全文
posted @ 2015-10-07 18:44 f9q 阅读(428) 评论(0) 推荐(0) 编辑
摘要: Tracking Movement This lesson describes how to track movement in touch events. A new onTouchEvent() is triggered with an ACTION_MOVE event whenever th 阅读全文
posted @ 2015-10-07 17:18 f9q 阅读(631) 评论(0) 推荐(0) 编辑
摘要: 简介 基本步骤: Detecting Common Gestures A "touch gesture" occurs when a user places one or more fingers on the touch screen, and your application interpret 阅读全文
posted @ 2015-10-07 11:38 f9q 阅读(562) 评论(0) 推荐(0) 编辑