diff --git a/README.md b/README.md index 00213e5..be2178b 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,7 @@ patternLock.onSlideListener = object : OnSlideListener { |nomalLineColor|正常状态下连线颜色|#00FFFF| |errorLineColor|错误状态下连线颜色|#FF0000| |lineWidth|连线宽度|8dp| +|allowRepeat|是否允许点被重复选中|false| ## PatternLock方法 |方法名|描述| |---|---| diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 9dba750..878aea3 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -7,6 +7,7 @@ android:gravity="center" tools:context="com.ooftf.patternlock.MainActivity"> + \ No newline at end of file