Customization
Customizing displayed messages, colors and fonts.
Last updated
Was this helpful?
Customizing displayed messages, colors and fonts.
To customize colors in SnapFragment use the UIColorConfiguration object on the Snapscreen instance.
Snapscreen.instance?.colorConfiguration.background = R.color.myBackgroundTo customize fonts in SnapFragment, use the UIFontConfiguration object on the Snapscreen instance.
Snapscreen.instance?.fontConfiguration.baseTypeface = Typeface.DEFAULTTo customize displayed messages in the SnapFragment use the SnapUIConfiguration object on the Snapscreen instance.
Snapscreen.instance?.snapUIConfiguration.snapHintText = "My custom Hint"All desired customizations must be done prior to presenting the SnapFragment or SnapActivity. While it is possible to modify the configuration between presentations of the SnapFragment, such modifications while SnapFragment is present are not guaranteed to be respected.
Last updated
Was this helpful?
Was this helpful?