zoho / salesiq-mobilisten-android-sample

Sample App to integrate SalesIQ Android SDK (Mobilisten)
https://mobilisten.io/
14 stars 4 forks source link

Change background color of the toolbar in Forms view #17

Closed manuls closed 3 years ago

manuls commented 3 years ago

In the documentation there is no item name refered https://www.zoho.com/salesiq/help/developer-section/android-mobile-sdk-theme-customization-forms.html

And there is no name in the SDK to change the color of the toolbar in that view, it is always blue

Angu-G commented 3 years ago

Hello @manuls, You can use colorPrimary attribute to change the toolbar color of the Form view. We will have this documented separately under the Forms category.

Example: <item name="colorPrimary">--custom color--</item>

manuls commented 3 years ago

Roger that. But I find strange that it cannot be changed separately like the other toolbars

Angu-G commented 3 years ago

@manuls, We will be having this as a separate attribute like other views in our next update. We will keep you posted here once it is live.

Angu-G commented 3 years ago

Hai @manuls, As we committed earlier, a separate attribute for Forms toolbar color is supported in our latest release 2.3.2 Attribute name - siq_forms_toolbar_backgroundcolor Reference - Doc link