How to drag a imageview in android studio? [duplicate]
问题 This question already has answers here : Android drag and drop issue not displaying (2 answers) Closed 3 years ago . I'm using this tutorial to create a imageview and drag it over the screen http://www.tutorialspoint.com/android/android_drag_and_drop.htm but when i drag the image in my emulator and i drop it disappears! how can i fix that? here is my layout file <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android