Skip to content

Please add null check to left and right buttons #27

Description

@mobilekosmos

mLeftButton.setText(R.string.pl_cancel);
mRightButton.setText(R.string.pl_forgot_pattern);

in

ConfirmPatternActivity

Activity

  1. zhanghai commented on Jul 13, 2018

    @zhanghai
    Owner

    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.

  2. self-assigned this
    on Jul 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions