Customizing Style Elements Using a
UiConfiguration
Instance

This customization feature enables you to dynamically change some Default UI style elements while the app is in use. These style elements can be customized using a
UiConfiguration
instance:
  • toolbarLogo
  • colorScheme
    (and its sub-elements)
  • cornerRadius
Follow this step to customize Default User Interface style elements using a
UiConfiguration
instance:
  1. Create the
    UiConfiguration
     instance.
    mposUi.configuration = UiConfiguration( // other UiConfiguration parameters toolbarLogo = "....", colorScheme = UiConfiguration.ColorScheme( colorPrimary = 0xFF1A1F71, colorOnPrimary = 0xFFFFFFFF, colorSurface = 0xFFFFFFFF, colorOnSurface = 0xFF1C1B1B, ), cornerRadius = UiConfiguration.CornerRadius.ROUND )