hwsecurity-fido / de.cotech.hw.fido.ui / FidoDialogOptions / Builder / setTheme /
setTheme
abstract fun setTheme(theme: Int): FidoDialogOptions.Builder
Set your own custom theme for the dialog to change colors.
<style name="MyCustomDialog" parent="HwSecurity.Dialog">
<item name="hwSecurityButtonColor">@color/hwSecurityDarkBlue</item>
<item name="hwSecuritySurfaceColor">@color/hwSecurityBlue</item>
<item name="hwSecurityErrorColor">@color/hwSecurityRed</item>
<item name="hwSecuritySuccessColor">@color/hwSecurityGreen</item>
</style>