/ UIKit / Android
Chat UIKit Android v3
Chat UIKit Android
Chat UIKit
Version 3

Message search is a feature that allows users to search for messages within a specific channel. It retrieves a list of messages that contains a search query from group channels joined by a user. You can search for either an exact match or a partial match.

Users can use this feature through the search bar in the message search view. When they search for a keyword in the search bar, the message search view will display the search results as shown below. Users can locate the message that they’re looking for by selecting the specific result.

Note : To learn more about implementing message search, refer to Search messages.

You can customize the UI for message search using the style resource and icon resource. To learn how to customize message search results, refer to the Customize list adapters page. In order to make changes to message search results, you must use the MessageSearchAdapter.

Style resource

Copy link

To customize the style of message search items, you have to change the UIKit-defined style values in the res/values/style.xml file as shown below. To learn how to customize the style, refer to Style resource.

<style name="Component.MessageSearchHeader">
<style name="Component.List.MessageSearch">
<style name="Component.Status.MessageSearch">
<style name="Widget.Sendbird.MessagePreview">

Icon resource

Copy link


A search icon used in the search bar.