ClipShare SDK Docs
  • Welcome!
  • MOBILE SDK
    • Android
      • Installation
      • Initialization
      • Sharing Clips
      • Customization
      • API Documentation
    • iOS
      • Installation
      • Initialization
      • Sharing Clips
      • Customization
      • API Documentation
  • WEB SDK
    • JavaScript
      • Installation
      • Access Token Handling
      • Sharing Clips
      • Customization
      • Implementation Errors
      • API documentation
Powered by GitBook
On this page
  • Customizing Colors
  • Customizing Fonts
  • Customizing ClipShare UI
  1. MOBILE SDK
  2. Android

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.myBackground

Customizing Fonts

To customize fonts in ClipShareFragment, use the UIFontConfiguration object on the ClipShare instance.

ClipShare.instance?.fontConfiguration.baseTypeface = Typeface.DEFAULT

Customizing 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.

PreviousSharing ClipsNextiOS

Last updated 2 years ago