Description: Realization thought:
1 to use a class to represent the first point in the 9 points. Which retains the current point of the upper and lower left and right of the various positions, etc.
2 custom GroupView, used to hold 9 points, 9 points of the display is through the ImageView. Copy the onLayout approach, make arrangement according to demand
3 the definition of a line drawing of View, carbon onTouchEvent method, draw line operation in this method.
4. Determine the fingers of a user s current location, remove the current position to compare with each point in the nine point position, if the location of the user within a certain point, so when the replacement of the background image.
To Search:
File list (Check if you may need any files):
Line
....\.classpath
....\.project
....\.settings
....\.........\org.eclipse.core.resources.prefs
....\.........\org.eclipse.jdt.core.prefs
....\AndroidManifest.xml
....\assets
....\bin
....\...\AndroidManifest.xml
....\...\classes
....\...\.......\com
....\...\.......\...\seeyon
....\...\.......\...\......\line
....\...\.......\...\......\....\bean
....\...\.......\...\......\....\....\Point.class
....\...\.......\...\......\....\BuildConfig.class
....\...\.......\...\......\....\MainActivity$1.class
....\...\.......\...\......\....\MainActivity.class
....\...\.......\...\......\....\R$attr.class
....\...\.......\...\......\....\R$dimen.class
....\...\.......\...\......\....\R$drawable.class
....\...\.......\...\......\....\R$id.class
....\...\.......\...\......\....\R$layout.class
....\...\.......\...\......\....\R$menu.class
....\...\.......\...\......\....\R$string.class
....\...\.......\...\......\....\R$style.class
....\...\.......\...\......\....\R.class
....\...\.......\...\......\....\ScreenUtils.class
....\...\.......\...\......\....\view
....\...\.......\...\......\....\....\ContentView.class
....\...\.......\...\......\....\....\Drawl$GestureCallBack.class
....\...\.......\...\......\....\....\Drawl.class
....\...\classes.dex
....\...\dexedLibs
....\...\.........\android-support-v4-16a00996e66fcb646f47332f1eb60fa7.jar
....\...\res
....\...\...\crunch
....\...\...\......\drawable-hdpi
....\...\...\......\.............\gesture_node_highlighted.png
....\...\...\......\.............\gesture_node_normal.png
....\...\...\......\.............\ic_launcher.png
....\...\...\......\.............\sky.png
....\...\...\......\drawable-mdpi
....\...\...\......\.............\ic_launcher.png
....\...\...\......\drawable-xhdpi
....\...\...\......\..............\ic_launcher.png
....\...\...\......\drawable-xxhdpi
....\...\...\......\...............\ic_launcher.png
....\...\resources.ap_
....\gen
....\...\com
....\...\...\seeyon
....\...\...\......\line
....\...\...\......\....\BuildConfig.java
....\...\...\......\....\R.java
....\ic_launcher-web.png
....\libs
....\....\android-support-v4.jar
....\proguard-project.txt
....\project.properties
....\res
....\...\drawable-hdpi
....\...\.............\gesture_node_highlighted.png
....\...\.............\gesture_node_normal.png
....\...\.............\ic_launcher.png
....\...\.............\sky.png
....\...\drawable-ldpi
....\...\drawable-mdpi
....\...\.............\ic_launcher.png
....\...\drawable-xhdpi
....\...\..............\ic_launcher.png
....\...\drawable-xxhdpi
....\...\...............\ic_launcher.png
....\...\layout
....\...\......\activity_main.xml
....\...\......\item.xml
....\...\menu
....\...\....\main.xml
....\...\values
....\...\......\dimens.xml
....\...\......\strings.xml
....\...\......\styles.xml
....\...\values-sw600dp
....\...\..............\dimens.xml
....\...\values-sw720dp-land
....\...\...................\dimens.xml
....\...\values-v11
....\...\..........\styles.xml
....\...\values-v14
....\...\..........\styles.xml
....\src
....\...\com
....\...\...\seeyon
....\...\...\......\line
....\...\...\......\....\bean
....\...\...\......\....\....\Point.java
....\...\...\......\....\MainActivity.java
....\...\...\......\....\ScreenUtils.java
....\...\...\......\....\view