文件名称:GestureLockDemo
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
1:要用一个类:表示这9个点中的一个点(里面保留当前点的上下左右的各个位置及属性)。
2:自定义GroupView:用来装9个点(9个点的显示:是通过ImageView,复写onLayout这个方法,让点按需求排列)
3:自定义可以画线的View:复写onTouchEvent方法(在这个方法里面进行画线的操作,并保存密码在SharedPreferences中)。
4:判断用户的手指当前的位置,取出当前的位置去与那9个点的每个点的位置进行比较(如果用户点的位置在某一个点内,那么当那个点置换背景图片)
-1: to use a class: that the 9 points in a point (which retains the current point of the upper and lower left and right of each position and attributes).
2: Custom GroupView: used to hold nine (9 points display: the ImageView, carbon onLayout this method to point are arranged according to the demand)
3: custom can view of drawing a line: carbon ontouchevent method (in the operation of painting line, and save the password in SharedPreferences).
4: to determine the current position of the user s fingers, take the current position to compare with the 9 points of each point (if the user point of the location within a point, then when the point of the replacement background image)
2:自定义GroupView:用来装9个点(9个点的显示:是通过ImageView,复写onLayout这个方法,让点按需求排列)
3:自定义可以画线的View:复写onTouchEvent方法(在这个方法里面进行画线的操作,并保存密码在SharedPreferences中)。
4:判断用户的手指当前的位置,取出当前的位置去与那9个点的每个点的位置进行比较(如果用户点的位置在某一个点内,那么当那个点置换背景图片)
-1: to use a class: that the 9 points in a point (which retains the current point of the upper and lower left and right of each position and attributes).
2: Custom GroupView: used to hold nine (9 points display: the ImageView, carbon onLayout this method to point are arranged according to the demand)
3: custom can view of drawing a line: carbon ontouchevent method (in the operation of painting line, and save the password in SharedPreferences).
4: to determine the current position of the user s fingers, take the current position to compare with the 9 points of each point (if the user point of the location within a point, then when the point of the replacement background image)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
GestureLockDemo\.classpath
...............\.project
...............\AndroidManifest.xml
...............\assets
...............\bin\AndroidManifest.xml
...............\...\classes\com\example\gesturelockdemo\bean\Point.class
...............\...\.......\...\.......\...............\bean
...............\...\.......\...\.......\...............\BuildConfig.class
...............\...\.......\...\.......\...............\MainActivity$CallBack.class
...............\...\.......\...\.......\...............\MainActivity.class
...............\...\.......\...\.......\...............\R$attr.class
...............\...\.......\...\.......\...............\R$drawable.class
...............\...\.......\...\.......\...............\R$id.class
...............\...\.......\...\.......\...............\R$layout.class
...............\...\.......\...\.......\...............\R$string.class
...............\...\.......\...\.......\...............\R$style.class
...............\...\.......\...\.......\...............\R.class
...............\...\.......\...\.......\...............\screen\ScreenUtils.class
...............\...\.......\...\.......\...............\screen
...............\...\.......\...\.......\...............\view\ContentView.class
...............\...\.......\...\.......\...............\....\Drawl$GestureCallBack.class
...............\...\.......\...\.......\...............\....\Drawl.class
...............\...\.......\...\.......\...............\view
...............\...\.......\...\.......\gesturelockdemo
...............\...\.......\...\example
...............\...\.......\com
...............\...\classes
...............\...\classes.dex
...............\...\dexedLibs\android-support-v4-64d8ad9c62e4e2bad86cfb473e9888da.jar
...............\...\.........\android-support-v4-908f121a57956b5a38af5c5eaafa809c.jar
...............\...\.........\annotations-8e51c84d520ea8732e956484129900a3.jar
...............\...\dexedLibs
...............\...\GestureLockDemo.apk
...............\...\jarlist.cache
...............\...\res\crunch\drawable-hdpi\gesture_node_highlighted.png
...............\...\...\......\.............\gesture_node_normal.png
...............\...\...\......\.............\ic_launcher.png
...............\...\...\......\.............\sky.png
...............\...\...\......\drawable-hdpi
...............\...\...\......\.........mdpi\ic_launcher.png
...............\...\...\......\drawable-mdpi
...............\...\...\......\.........xhdpi\ic_launcher.png
...............\...\...\......\drawable-xhdpi
...............\...\...\......\..........xhdpi\ic_launcher.png
...............\...\...\......\drawable-xxhdpi
...............\...\...\crunch
...............\...\res
...............\...\resources.ap_
...............\bin
...............\gen\com\example\gesturelockdemo\BuildConfig.java
...............\...\...\.......\...............\R.java
...............\...\...\.......\gesturelockdemo
...............\...\...\example
...............\...\com
...............\gen
...............\ic_launcher-web.png
...............\libs\android-support-v4.jar
...............\libs
...............\proguard-project.txt
...............\project.properties
...............\res\drawable-hdpi\gesture_node_highlighted.png
...............\...\.............\gesture_node_normal.png
...............\...\.............\ic_launcher.png
...............\...\.............\sky.png
...............\...\drawable-hdpi
...............\...\drawable-ldpi
...............\...\.........mdpi\ic_launcher.png
...............\...\drawable-mdpi
...............\...\.........xhdpi\ic_launcher.png
...............\...\drawable-xhdpi
...............\...\..........xhdpi\ic_launcher.png
...............\...\drawable-xxhdpi
...............\...\layout\activity_main.xml
...............\...\layout
...............\...\values\strings.xml
...............\...\......\styles.xml
...............\...\values
...............\res
...............\src\com\example\gesturelockdemo\bean\Point.java
...............\...\...\.......\...............\bean
...............\...\...\.......\...............\MainActivity.java
...............\...\...\......