Dark mode Support
Currently, dark mode is not formally being supported by the SDK.
How to apply Dark mode to your Chat
In order to apply dark theme to your chat, you can define overriding and dark mode resources additions, that will replace the resources used by the SDK.
-
Adding night mode resources
Night mode resources should be located in a night mode dedicated folder. The night mode folder is named as the original resource folder with “-night-“ addition to it. (e.g.,
drawable-night-hdpi
).When setting the device to
Night mode
, those resources will be used automatically. -
Overriding resources
SDK resources can be overridden by the hosting app, by defining the same resource id (name) with different value on the Apps resources.
More info can be found on the official android developers guide on Dark theme.