SearchResultListViewStyle

data class SearchResultListViewStyle(@ColorInt val backgroundColor: Int, val searchInfoBarBackground: Drawable, val searchInfoBarTextStyle: TextStyle, val emptyStateIcon: Drawable, val emptyStateTextStyle: TextStyle, val progressBarIcon: Drawable, val messagePreviewStyle: MessagePreviewStyle) : ViewStyle

Style for SearchResultListView. Use this class together with TransformStyle.searchResultListViewStyleTransformer to change SearchResultListView styles programmatically.

Constructors

Link copied to clipboard
constructor(@ColorInt backgroundColor: Int, searchInfoBarBackground: Drawable, searchInfoBarTextStyle: TextStyle, emptyStateIcon: Drawable, emptyStateTextStyle: TextStyle, progressBarIcon: Drawable, messagePreviewStyle: MessagePreviewStyle)

Properties

Link copied to clipboard

Background color for search results list. Default value is R.color.stream_ui_white.

Link copied to clipboard

Icon for empty state view. Default value is R.drawable.stream_ui_ic_search_empty.

Link copied to clipboard

Appearance for empty state text.

Link copied to clipboard

Style for single search result item.

Link copied to clipboard
Link copied to clipboard

Background for search info bar. Default value is R.drawable.stream_ui_bg_gradient.

Link copied to clipboard

Appearance for text displayed in search info bar.