-
Notifications
You must be signed in to change notification settings - Fork 0
Chat input command view
Pallab Gain edited this page Feb 28, 2024
·
8 revisions
Ninchat command view or chat input view is where the user will write their chat messages. Using these mention resource(s), an integration can change the view according to their design spec
- Chat input/command view is using the following style. We can extend or override the following style component and have our custom view. It is an android
styleresourceNinchatTheme.Backlog.CommandView
- Or we can use part of the style components to change partial view components
-
Background. Android
drawableresourceninchat_chat_command_input_text- Background color. Android
colorresourceninchat_color_chat_command_input_background
- Border color. Android
colorresourceninchat_color_chat_command_input_border
-
Chat input divider. Android
drawableresource. Default is transparentninchat_chat_command_input_divider
-
Input text color. Android
colorresourceninchat_color_chat_command_input_text
-
Placeholder text color. Android
colorresourceninchat_color_chat_command_input_text_placeholder
-
Divider text color. Android
colorresourceninchat_color_chat_command_input_divider
-
Placeholder text. Ninchat SDK uses a default placeholder. If we want to override the placeholder text we can also do it by overriding the following resources. Android
stringresourceninchat_chat_command_input_text_placeholder_string
-
Chat Text AutoLink. Ninchat SDK provides automatic linking functionality for various types of content to enhance user interaction within chat texts. It supports
web,email,phone,map,noneandall. We can enable multiple content by separating them with a|. For example,web|emailwill enable autolink forwebandemailWe can modify them by following resources. Androidstringresource-
ninchat_autolink_attributes. ( default:all)
-
-
Background. 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