Style your SDK
Diyalog SDK provides custom Diyalog style to your application, using Diyalog style customer can create own styled screen.
How to use custom style?#
First create object of DiyalogStyle class from your application class, and using that object you can access all property of DiyaLogStyle class.
- Diyalog style is optional. If customer don't wants to use custom style then SDK will use default style
 
Sample code:#
More options?#
Followings are styles parameters with the help of those parameters User can configure style within their Application:
Dark mode#
Set Main App in Dark Mode
Common View style#
Change all bacground colors in Diyalog SDK screens.
Diyalog TabBar Color#
Colors in Diyalog Views#
Text color in views#
Tint color in views#
This setting change all active text colors like:
- Color of all buttons and action buttons
 - Selected UITabBarItem text color (if not set indiviudally)
 - All UITable title and text colors (if not set indiviudally)
 - Read Status tick color (if not set indiviudally)
 - User presense status info color (if not set indiviudally)
 
Hint color in views#
This setting change secondary and passive text colors in views like :
- texts other than main texts (hint, label, date, pssive status informations.)
 - Not selected UITabBarItem text color (if not set indiviudally)
 - All UITable secondary elements text colors (if not set indiviudally)
 - Send, delivered Status tick color (if not set indiviudally)
 - Date text in Dailog lists (if not set indiviudally)
 
Separator color#
Selected Items color#
This setting set color for all selected items in views.
Switch buttons colors#
Navigation Bar#
Navigation Background colors#
Navigation Tint colors#
Navigation Bar Style#
Navigation Title color#
Search Bars#
Search bar background color#
Search bar input field background#
Search bar text color#
Search bar cancel button color#
Chat Screen Colors Settings#
Chat screen background color#
Received text message bubble background color#
Received text message bubble border color#
Received text message text color#
Received text message date color#
Received media message bubble background color#
Received media message date background color#
Received media message date text color#
Received media message date text color#
Sent media message bubble background color#
Sent text message bubble background color#
Sent text message bubble border color#
Sent text message text color#
Sent text message date color#
Sent media message date color#
New messages Separator background color#
Service Messages bubble color#
Voice message Slider Color#
Message Status tick colors#
Chat Actionsheet Settings#
Background color#
Tint Colors#
Camera Button Colors#
Lirary Button Colors#
Location Button Colors#
Contact Button Colors#
Cancel Button Colors#
Action Sheet Separator Colors#
Set all separator colors with
or you can set each action sheet separator colors individually