Customization
Customizing displayed messages, colors and fonts.
Customizing Colors
To customize colors in ClipShareFragment use the UIColorConfiguration object on the ClipShare instance.
ClipShare.instance?.colorConfiguration.background = R.color.myBackgroundCustomizing Fonts
To customize fonts in ClipShareFragment, use the UIFontConfiguration object on the ClipShare instance.
ClipShare.instance?.fontConfiguration.baseTypeface = Typeface.DEFAULTCustomizing ClipShare UI
To 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