You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 :)
The text was updated successfully, but these errors were encountered:
On Tue, Aug 22, 2017 at 4:17 PM, Ruben Macias ***@***.***> wrote:
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 :)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#7>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGePUPL0cB1lx4uzN6XrFVnBp2aBs-fKks5sauLkgaJpZM4O-r_u>
.
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:
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 :)
The text was updated successfully, but these errors were encountered: