GestureLockView is an easy-to-use, extensible framework for unlocking gestures for Android.
features
-
GestureLockView has a default gesture unlock view built in to achieve the basic function of gesture unlock.
-
GestureLockView supports simple style adjustments, animation Settings, and touch vibration Settings for the built-in views.
-
GestureLockView supports custom drawing to achieve different style effects.
-
GestureLockView supports image insertion instead of custom drawing to improve development efficiency.
Full effect
The author recorded a complete video Demo:
Youtube video [2:58 seconds] (requires climbing the wall): Youtu.be /- wrljzq8su
GestureLockView has a default built-in unlock view that looks like this:
GestureLockView supports inserting images instead of original drawing:
GestureLockView supports custom drawing. Most APP gesture unlocking effects can be achieved using GestureLockView, for example:
Demo address: gesturelockViewDemo.apk
Gradle introduced
Under the module you want to use, find the build.gradle file to add library dependencies:
Dependencies {the compile 'com. Wangnan: gesturelockview: 1.0.0'}
Copy the code
1. See Github Wiki Attr for basic custom attributes
2. See Github Wiki Method for other basic methods
3. For the usage case, see Android Advanced Gesture Unlock
Problem feedback and suggestions
1.GitHub Issues: Ask questions on GitHub
2. Short letters: Send short letters to the author
Copyright 2017 wangnan
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Copy the code