setTheme()

The ZohoSalesIQ.setTheme allows applying a custom theme/style to the SDK by giving resource ID.

Note: To apply this theme, make sure to set the syncThemeWithOS() to "false".

Syntax

CopiedZohoSalesIQ.setTheme(R.style.CustomTheme);
CopiedZohoSalesIQ.setTheme(R.style.CustomTheme)

styles.xml

Copied<style name="CustomTheme" parent="Theme.SalesIQ.Light">
     <item name="colorAccent">@color/app_theme_color</item>
</style>