PatternLock
PatternLock copied to clipboard
Please add null check to left and right buttons
mLeftButton.setText(R.string.pl_cancel); mRightButton.setText(R.string.pl_forgot_pattern);
in
ConfirmPatternActivity
These stock activities assumes there are such buttons, and if you want to provide your own buttons or circumvent library's logic it won't be supported.
However if you still want to do this, you can accomplish it with some hack, e.g. adding the two buttons with the corresponding IDs to your layout and set their visibility to GONE.
Another way around would be copying the activity and picking the code you need. After all, these activities are just kind of a sample / some starter code.