Description: In this example, the design and use Drawable an ImageView image, the photo at the beginning of program execution to be placed center of the screen. OnTouchEvent through the implementation to deal with the next point (ACTION_DOWN), drag (ACTION_MOVE), release (ACTION_UP) and so on, to complete the picture of the effect of drag.
To Search:
File list (Check if you may need any files):
drag_pic\.classpath
........\.project
........\.settings\org.eclipse.jdt.core.prefs
........\.........\org.eclipse.jdt.ui.prefs
........\AndroidManifest.xml
........\bin\classes.dex
........\...\drag_pic.apk
........\...\irdc\EX07_04\EX07_04$1.class
........\...\....\.......\EX07_04.class
........\...\....\.......\R$attr.class
........\...\....\.......\R$drawable.class
........\...\....\.......\R$id.class
........\...\....\.......\R$layout.class
........\...\....\.......\R$string.class
........\...\....\.......\R.class
........\...\resources.ap_
........\default.properties
........\gen\irdc\EX07_04\R.java
........\res\drawable\baby.png
........\...\........\bg.png
........\...\........\icon.png
........\...\layout\main.xml
........\...\values\color.xml
........\...\......\strings.xml
........\src\irdc\EX07_04\EX07_04.java
........\bin\irdc\EX07_04
........\gen\irdc\EX07_04
........\src\irdc\EX07_04
........\bin\irdc
........\gen\irdc
........\res\drawable
........\...\layout
........\...\values
........\src\irdc
........\.settings
........\assets
........\bin
........\gen
........\res
........\src
drag_pic