A theme is style that’s applied to your entire app, activity or view hierarchy rather than an individual view. By default, Mirrofly UIKit for Android provides two themes: Light and Dark. Customized themes that fit your brand identity can also be created by changing the style and color set.
UIKit for Android's Light or Dark theme can be applied using the MirrorFlyUIKit.defaultThemeMode method.
This is the default theme for UIKit if another theme hasn’t been specified.
The Dark theme can be applied as below:
StyleSet is the list of styles provided by UIKit. Customizing the style of chat list items is straightforward: Simply inherit the UIKit-defined styles, then override the
res/values/themes.xml file from the list below. For example, the
ChatPreview theme can be changed by overriding the
The following table lists the style components of each Activity or Fragment used.
|Activity or Fragment||Style components|
|FlyRecentChat (Recent Chats)|
|FlyChat (Single & Group Chat)|
The ColorSet is the set of colors provided by UIKit for Android and is fully customizable.