Customization
Customizing displayed messages, colors and fonts.
Last updated
Customizing displayed messages, colors and fonts.
To customize colors in ClipShareFragment use the UIColorConfiguration object on the ClipShare instance.
ClipShare.instance?.colorConfiguration.background = R.color.myBackgroundTo customize fonts in ClipShareFragment, use the UIFontConfiguration object on the ClipShare instance.
ClipShare.instance?.fontConfiguration.baseTypeface = Typeface.DEFAULTTo customize displayed messages in the ClipShareFragment use the ClipShareUIConfiguration object on the ClipShare instance.
ClipShare.instance?.uiConfiguration.saveClipButtonText = "Create my clip"All desired customizations must be done prior to presenting the ClipShareFragment. While it is possible to modify the configuration between presentations of the ClipShareFragment, such modifications while ClipShareFragment is present are not guaranteed to be respected.
Last updated