Theme Customization - KaleyraVideo/VideoAndroidSDK GitHub Wiki
Server Side UI Customization
Since every client had to provide a Theme implementation in order to customize the client call and chat UIs, has now been integrated a new convenient and centralized way to achieve the same result.
Logo Customization
Theme Customization
Client Side UI Customization
A KaleyraVideo theme object can be updated at any time specifying following parameters:
- font family
- default style // (Day/Night/System)
- day colors and logo configuration
- night colors and logo configuration
Be aware that if the theme is not customized, the call will display as watermark the logo that has been provided to the company rest registration.
val brandColorSeed = ColorResource(Color(0xFF2A638A).toArgb())
val brandLogoUri = getYourBrandLogoUri()
KaleyraVideo.theme = Theme(
logo = Theme.Logo(URIResource(brandLogoUri, brandLogoUri)),
palette = Theme.Palette(seed = brandColorSeed),
typography = Theme.Typography(fontFamily = KaleyraFontFamily.default),
config = Theme.Config(style = Theme.Config.Style.System) // or force light mode with Theme.Config.Style.Light and dark with Theme.Config.Style.Dark
)