Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use SetPattern method? #19

Open
Mateeen opened this issue Jul 9, 2018 · 5 comments
Open

How to use SetPattern method? #19

Mateeen opened this issue Jul 9, 2018 · 5 comments

Comments

@Mateeen
Copy link

Mateeen commented Jul 9, 2018

Actually on the wrong pattern entered we want to set the color of paths and dots to red.
How can we achieve this functionality?
and also SetPattern use.

@wzxlucky
Copy link

@Mateeen
mPatternLockView.setPattern(PatternLockView.PatternViewMode.AUTO_DRAW,PatternLockUtils.stringToPattern(mPatternLockView,"12345"));

“12345” is your want to selected dot

@buffermet
Copy link

Just using digits is not a good selector for pattern dots, because the tenth, eleventh and twelfth dot will be interpreted as "1", "0", "1", "1", and "1", "2", etc.

There should be a separator between each digit (a comma for example), so that we can differentiate between "1", "0", and "10".

@buffermet
Copy link

#31 is related bug

@buffermet
Copy link

@aritraroy please see my proposed fix #32

thanks

@buffermet
Copy link

@aritraroy bump...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants