Digipass S3 is now DigipassONE. This section is currently being updated to reflect our new name.

Replacing the UI with themes

Prev Next

The App SDK uses themes for customizing the UI. By modifying properties in the theme you can customize fonts, colors, margins, etc. You can also override a theme to make these changes. To override a theme, declare a local theme with the same name in your application. Below is the list of themes and where they are used.

Theme Name

Description

NNLBaseTheme

The main parent theme for most themes in SDK. Changes here affect most UI elements.

NNLDialogTheme

The parent theme for all dialogs in the SDK. Changes here affect all dialogs.

NNLSelectionDialogTheme

The theme for the Select user dialog and Choose methods to verify dialog.

NNLMessageDialogTheme

The theme for the dialog that displays the detailed description for an ASM. A user sees this dialog when they do a long press on an authenticator name in the authenticator selector.

NNLFPDialogTheme

The theme for the dialog that prompts you to sign in with your fingerprint. This dialog is displayed at the bottom of your screen.

NNLSelectAuthenticatorTheme

The theme for the select authenticator activity.

NNLSoftpinTheme

The theme of PINActivity in PIN authenticator.

This table lists themes used by buttons in the App SDK.

Theme

Description

NNLButtonStyle

Parent theme for buttons in the App SDK.

NNLYesNoButtonStyle

Parent theme for Authorize and Decline buttons.

NNLAuthorizeButtonStyle

The theme for the Authorize button, used in ConfirmationActivity.

Parent: NNLYesNoButtonStyle

NNLDeclineButtonStyle

The theme for the Decline button, used in ConfirmationActivity.

Parent: NNLYesNoButtonStyle

NNLMngRegsButtonStyle

The theme for the Remove All button, used in ManagementFragment.java.

NNLMngRegsLayoutTheme

The theme for the Manage authenticators fragment.