如何在android触摸屏上双向移动图像(键入png)

如何在android触摸屏上双向移动图像(键入png),android,android-layout,android-emulator,Android,Android Layout,Android Emulator,我想在用户向左或向右拖动png图像时,在LinearLayout上旋转该图像 有什么想法吗?您可以使用SurfaceView或View类来完成此任务,请通过以下链接:

我想在用户向左或向右拖动png图像时,在LinearLayout上旋转该图像


有什么想法吗?

您可以使用
SurfaceView
View
类来完成此任务,请通过以下链接: