GithubHelp home page GithubHelp logo

gesturelibray's Introduction

GestureLibray

###手势解锁库 ####效果图: #####设置与验证 #####修改与清除 ####项目编译环境:Android studio ####密码说明:输入的密码添加了Base64加密 ####属性说明 #####颜色与尺寸

  • color_up_ring 未按下时九宫格按钮颜色
  • color_on_ring 按下状态下圈的颜色
  • color_error_ring 密码错误时的颜色
  • outer_ring_spacing_width 宫格之间的间距(圆的大小会根据设置的间距动态适配)
  • inner_ring_width 中间最小的圆的大小
  • inner_background_width 中间透明的圆的大小 #####其他
  • 设置是否显示绘制方向: setShow(true);/setShow(false);
  • 设置密码允许输错次数: setErrorNumber(3);
  • 设置密码最少长度:setPasswordMinLength(3);
  • 设置密码后是否立即保存到本地:setSavePin(true);
  • 设置保存到本地的key值:setSaveLockKey(“passwordkey”);
  • 设置模式:setMode(LockMode mode);
  • 设置LockMode.CLEAR_PASSWORD模式下是否清除本地密码数据:setClearPasssword(boolean clearPasssword);

#####LockMode

  • 设置密码:LockMode.SETTING_PASSWORD
  • 修改密码:LockMode.EDIT_PASSWORD
  • 验证密码:LockMode.VERIFY_PASSWORD
  • 清除密码:LockMode.CLEAR_PASSWORD

####Gradle Add this to your project's build.gradle file

dependencies {

   compile 'com.leo.gesturelibray:GestureLibray:1.0.9'

}

###Version:1.1.1

#####更新说明: ######Version:1.1.1

  • 增加setClearPasssword(boolean clearPasssword); 用于判断LockMode.CLEAR_PASSWORD模式下是否清除密码。
  • fix bug

gesturelibray's People

Contributors

leo199206 avatar

Watchers

Lancet avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.