-
Notifications
You must be signed in to change notification settings - Fork 0
Meta message
Pallab edited this page Aug 23, 2021
·
4 revisions
Ninchat SDK shows meta or info messages in the different use cases. For example, when a chat starts or ends it shows info/meta messages. Using these mention resource(s), an integration can change the view according to their design spec
- Meta uses a background style and text info style component. It is an android
style
resource- Background of the meta messages.
NinchatTheme.Backlog.Info
- Text and icon style of the meta messages
NinchatTheme.Backlog.Info.Text
- Background of the meta messages.
- Or we can use part of the style components to change partial view components
-
Background of the info message component. Android
drawable
resourceninchat_chat_info
- Border color. Android
color
resourceninchat_color_chat_info_border
- Border color. Android
color
resourceninchat_color_chat_command_input_border
-
Text color. Android
color
resourceninchat_color_info_text
-
Message icon. Android
drawable
resourceninchat_icon_chat_info_icon
-
Position of the meta message. Ninchat SDK places the meta message at the centre by default. Android
string
resource-
ninchat_chat_info_text_align
- You can use it to set the alignment of the meta message(s). For example, we can put
ninchat_chat_info_text_align
value to start, and the icon and text will be then align to start
- You can use it to set the alignment of the meta message(s). For example, we can put
-
-
Background of the info message component. Android
- Home
- Installation
- SDK Permission
- How to integrate the SDK
-
Overriding SDK assets
- Old resources doc ( < SDK 0.10.0 )
- Queue list view
- In Queue view element
- Command / Chat view elements
- Review / Rating view
- Dialogue(s)
- Titlebar
- Questionnaire
- Buttons
- Example Integration
- Building the Go library
- Building SDK .aar
- Contact Us
- Licenses