-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Labels
Description
This is more of a feature request in the future, but would it be possible for the out of the box dialog to be customizable to include options to change the text, text color, and icons? I was thinking something like:
FingerprintDialog.Builder()
.with(MyActivity.this)
.setKeyName(KEY_NAME)
.setRequestCode(SOME_REQUEST_CODE)
.setDialogTitle("Fingerprint Sign In")
.setDialogMessage("Use fingerprint to sign in.")
.setScanningMessage("Place finger on sensor")
.setScanningDrawable(myScanningIcon)
.setScanningMessageColor(R.color.myCustomColor)
.setAuthenticatedMessage("Success!")
.setAuthenticatedDrawable(mySuccessIcon)
.setAuthenticatedMessageColor(R.color.myCustomColor)
.setFailedMessage("Fingerprint not recognized. Try Again.")
.setFailedDrawable(myFailedIcon)
.setFailedMessageColor(R.color.myCustomColor)
.show()I realize I could create one from scratch, but I really like the one included in the library and just want to change the icon colors and text colors :)
Reactions are currently unavailable