Themes
A themeLight
and Dark
. But you can customize these themes to create your own brand identity by changing the value of resources.
Setup the default theme
UIKit for Android's Light
or Dark
theme can be applied using the SendbirdUIKit.setDefaultThemeMode()
method.
Light theme
This is the default theme for UIKit if another theme hasn’t been specified.
Dark theme
The Dark
theme can be applied as below:
Customize theme
A theme in UIKit is composed of various styles used in modules and components. To change them, you must inherit the style of the module you wish to customize and create a custom style first. Then, you can apply the new style to the theme. You can also set and customize individual component themes for when you want to use components outside of the set module. To learn more about style, go to the Style resource page.
Note : For dark theme, use
AppTheme.Dark.Sendbird
in the code. You can see all the different styles that are applied to the dark theme in theres/values/styles_dark.xml
file.