【问题标题】:How to move the image from one place to other place through touch listener?如何通过触摸监听器将图像从一个地方移动到另一个地方? 【发布时间】:2012-04-11 06:06:49 【问题描述】: LinearLayout 上有一张图片。我必须通过触摸向任何方向移动该图像。请帮我看看怎么办。 【问题讨论】: 你使用的是哪个安卓版本? 标签: android android-widget 【解决方案1】: 将示例用作http://www.edumobile.org/android/android-beginner-tutorials/drag-and-drop-ui-element/ 或http://techdroid.kbeanie.com/2010/04/simple-drag-n-drop-on-android.html 如果您使用的 3.0 版本高于它,请使用 http://www.vogella.de/articles/AndroidDragAndDrop/article.html 中给出的示例 【讨论】: 非常感谢汗先生。 嗨汗,如何根据手指触摸的动作改变那个按钮的位置?请帮助我。