-
Notifications
You must be signed in to change notification settings - Fork 64
Keys
Keval Patel edited this page Apr 19, 2017
·
1 revision
- Key is the small button in the
PinView
. Those keys togeather as a numeric keyboard to enter the PIN code in thePinView
. - The shape and theme of the key are customizable. You can use a different shape of the key provided in SDK or you can create your own shape for the key.
- You have to set the key before initializing the
PinView
. The best place to set key is theonCreate()
of your activity oronCreateView()
of your fragment. - Here is the simplest to set the key.
@Override
protected void onCreate(Bundle savedInstanceState) {
//...
//...
//Build the desired key shape and pass the theme parameters.
//REQUIRED
mPinView.setKey(...)
}