Android缺乏手势问题

近来研究Android,发现里面有ScaleGestureDetector,竟然没有RotateGestureDetector。只能搜索到第三方的:

通过Guesture方法实现Rotate
http://code.almeros.com/android-multitouch-gesture-detectors#.Ufc2VRYzMgV
https://github.com/Almeros/android-gesture-detectors

直接再View上实现Rotate
https://github.com/MikeOrtiz/TouchImageView
https://github.com/jasonpolites/gesture-imageview
https://github.com/codepanda-ch/android-gestureimageview

官方的Scale例子
http://developer.android.com/training/gestures/scale.html

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注