-
- All Implemented Interfaces:
-
io.getstream.chat.android.ui.helper.ViewStyle
public final class ThreadListViewStyle implements ViewStyle
Class holding the customizable styling parameters for ThreadListView.
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegerbackgroundColorprivate final DrawableemptyStateDrawableprivate final StringemptyStateTextprivate final TextStyleemptyStateTextStyleprivate final DrawablethreadIconDrawableprivate final TextStylethreadTitleStyleprivate final TextStylethreadReplyToStyleprivate final MessagePreviewStylelatestReplyStyleprivate final TextStyleunreadCountBadgeTextStyleprivate final DrawableunreadCountBadgeBackgroundprivate final TextStylebannerTextStyleprivate final DrawablebannerIconprivate final DrawablebannerBackgroundprivate final IntegerbannerPaddingLeftprivate final IntegerbannerPaddingTopprivate final IntegerbannerPaddingRightprivate final IntegerbannerPaddingBottomprivate final IntegerbannerMarginLeftprivate final IntegerbannerMarginTopprivate final IntegerbannerMarginRightprivate final IntegerbannerMarginBottom
-
Constructor Summary
Constructors Constructor Description ThreadListViewStyle(Integer backgroundColor, Drawable emptyStateDrawable, String emptyStateText, TextStyle emptyStateTextStyle, Drawable threadIconDrawable, TextStyle threadTitleStyle, TextStyle threadReplyToStyle, MessagePreviewStyle latestReplyStyle, TextStyle unreadCountBadgeTextStyle, Drawable unreadCountBadgeBackground, TextStyle bannerTextStyle, Drawable bannerIcon, Drawable bannerBackground, Integer bannerPaddingLeft, Integer bannerPaddingTop, Integer bannerPaddingRight, Integer bannerPaddingBottom, Integer bannerMarginLeft, Integer bannerMarginTop, Integer bannerMarginRight, Integer bannerMarginBottom)
-
Method Summary
Modifier and Type Method Description final IntegergetBackgroundColor()final DrawablegetEmptyStateDrawable()final StringgetEmptyStateText()final TextStylegetEmptyStateTextStyle()final DrawablegetThreadIconDrawable()final TextStylegetThreadTitleStyle()final TextStylegetThreadReplyToStyle()final MessagePreviewStylegetLatestReplyStyle()final TextStylegetUnreadCountBadgeTextStyle()final DrawablegetUnreadCountBadgeBackground()final TextStylegetBannerTextStyle()final DrawablegetBannerIcon()final DrawablegetBannerBackground()final IntegergetBannerPaddingLeft()final IntegergetBannerPaddingTop()final IntegergetBannerPaddingRight()final IntegergetBannerPaddingBottom()final IntegergetBannerMarginLeft()final IntegergetBannerMarginTop()final IntegergetBannerMarginRight()final IntegergetBannerMarginBottom()-
-
Constructor Detail
-
ThreadListViewStyle
ThreadListViewStyle(Integer backgroundColor, Drawable emptyStateDrawable, String emptyStateText, TextStyle emptyStateTextStyle, Drawable threadIconDrawable, TextStyle threadTitleStyle, TextStyle threadReplyToStyle, MessagePreviewStyle latestReplyStyle, TextStyle unreadCountBadgeTextStyle, Drawable unreadCountBadgeBackground, TextStyle bannerTextStyle, Drawable bannerIcon, Drawable bannerBackground, Integer bannerPaddingLeft, Integer bannerPaddingTop, Integer bannerPaddingRight, Integer bannerPaddingBottom, Integer bannerMarginLeft, Integer bannerMarginTop, Integer bannerMarginRight, Integer bannerMarginBottom)
- Parameters:
backgroundColor- The background color of the thread list.emptyStateDrawable- Drawable shown when there are no threads.emptyStateText- Text shown when there are no threads.emptyStateTextStyle- Style for the empty state text.threadIconDrawable- Drawable for the thread icon.threadTitleStyle- Style for the thread title.threadReplyToStyle- Style for the thread reply to text.latestReplyStyle- Style for the latest reply message preview.unreadCountBadgeTextStyle- Style for the unread count badge.unreadCountBadgeBackground- Background for the unread count badge.bannerTextStyle- Style for the unread threads banner text.bannerIcon- Icon for the unread threads banner.bannerBackground- Background for the unread threads banner.bannerPaddingLeft- Left padding for the unread threads banner.bannerPaddingTop- Top padding for the unread threads banner.bannerPaddingRight- Right padding for the unread threads banner.bannerPaddingBottom- Bottom padding for the unread threads banner.bannerMarginLeft- Left margin for the unread threads banner.bannerMarginTop- Top margin for the unread threads banner.bannerMarginRight- Right margin for the unread threads banner.bannerMarginBottom- Bottom margin for the unread threads banner.
-
-
Method Detail
-
getBackgroundColor
final Integer getBackgroundColor()
-
getEmptyStateDrawable
final Drawable getEmptyStateDrawable()
-
getEmptyStateText
final String getEmptyStateText()
-
getEmptyStateTextStyle
final TextStyle getEmptyStateTextStyle()
-
getThreadIconDrawable
final Drawable getThreadIconDrawable()
-
getThreadTitleStyle
final TextStyle getThreadTitleStyle()
-
getThreadReplyToStyle
final TextStyle getThreadReplyToStyle()
-
getLatestReplyStyle
final MessagePreviewStyle getLatestReplyStyle()
-
getUnreadCountBadgeTextStyle
final TextStyle getUnreadCountBadgeTextStyle()
-
getUnreadCountBadgeBackground
final Drawable getUnreadCountBadgeBackground()
-
getBannerTextStyle
final TextStyle getBannerTextStyle()
-
getBannerIcon
final Drawable getBannerIcon()
-
getBannerBackground
final Drawable getBannerBackground()
-
getBannerPaddingLeft
final Integer getBannerPaddingLeft()
-
getBannerPaddingTop
final Integer getBannerPaddingTop()
-
getBannerPaddingRight
final Integer getBannerPaddingRight()
-
getBannerPaddingBottom
final Integer getBannerPaddingBottom()
-
getBannerMarginLeft
final Integer getBannerMarginLeft()
-
getBannerMarginTop
final Integer getBannerMarginTop()
-
getBannerMarginRight
final Integer getBannerMarginRight()
-
getBannerMarginBottom
final Integer getBannerMarginBottom()
-
-
-
-