Frames stuck because of the Genymotion,,,,wtf=。=
Usage:
Add the JitPack repository to your build file:
repositories {
// ...
maven { url "https://jitpack.io" }
}
Add the dependency in the form:
dependencies {
compile 'com.github.Syehunter:GestureLockView:'
}
U can use the GestureLockView like this:
<com.sye.library.GestureLockView
xmlns:gesture="http://schemas.android.com/apk/res-auto"
android:id="@+id/gestureLockView"
gesture:bitmapError="@mipmap/error"
gesture:bitmapNormal="@mipmap/normal"
gesture:bitmapSelect="@mipmap/select"
gesture:lineColor="#FF773355"
gesture:strokeWidth="3dp"
android:layout_width="match_parent"
android:layout_height="300dp"/>