-
@Immutable() public final class StreamDimensContains all the dimens we provide for our components.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classStreamDimens.Companion
-
Field Summary
-
Constructor Summary
Constructors Constructor Description StreamDimens(Dp channelItemVerticalPadding, Dp channelItemHorizontalPadding, Dp channelAvatarSize, Dp selectedChannelMenuUserItemWidth, Dp selectedChannelMenuUserItemHorizontalPadding, Dp selectedChannelMenuUserItemAvatarSize, Dp attachmentsContentImageWidth, Dp attachmentsContentGiphyWidth, Dp attachmentsContentGiphyHeight, Dp attachmentsContentLinkWidth, Dp attachmentsContentFileWidth, Dp attachmentsContentFileUploadWidth, Dp attachmentsContentUnsupportedWidth, Dp threadSeparatorVerticalPadding, Dp threadSeparatorTextVerticalPadding, Dp messageOptionsItemHeight, Dp suggestionListMaxHeight, Dp suggestionListPadding, Dp suggestionListElevation, Dp mentionSuggestionItemHorizontalPadding, Dp mentionSuggestionItemVerticalPadding, Dp mentionSuggestionItemAvatarSize, Dp commandSuggestionItemHorizontalPadding, Dp commandSuggestionItemVerticalPadding, Dp commandSuggestionItemIconSize, Dp threadParticipantItemSize, Dp userReactionsMaxHeight, Dp userReactionItemWidth, Dp userReactionItemAvatarSize, Dp userReactionItemIconSize, Dp reactionOptionItemIconSize, Dp headerElevation, Dp messageItemMaxWidth, Dp quotedMessageTextVerticalPadding, Dp quotedMessageTextHorizontalPadding, Dp quotedMessageAttachmentPreviewSize, Dp quotedMessageAttachmentTopPadding, Dp quotedMessageAttachmentBottomPadding, Dp quotedMessageAttachmentStartPadding, Dp quotedMessageAttachmentEndPadding, Dp quotedMessageAttachmentSpacerHorizontal, Dp quotedMessageAttachmentSpacerVertical, Dp groupAvatarInitialsXOffset, Dp groupAvatarInitialsYOffset, Dp attachmentsPickerHeight, Dp attachmentsSystemPickerHeight, Dp attachmentsContentImageMaxHeight, Dp attachmentsContentGiphyMaxWidth, Dp attachmentsContentGiphyMaxHeight, Dp attachmentsContentVideoMaxHeight, Dp attachmentsContentMediaGridSpacing, Dp attachmentsContentVideoWidth, Dp attachmentsContentGroupPreviewWidth, Dp attachmentsContentGroupPreviewHeight, Dp pollOptionInputHeight, Dp messageComposerShadowElevation)
-
Method Summary
-
-
Constructor Detail
-
StreamDimens
StreamDimens(Dp channelItemVerticalPadding, Dp channelItemHorizontalPadding, Dp channelAvatarSize, Dp selectedChannelMenuUserItemWidth, Dp selectedChannelMenuUserItemHorizontalPadding, Dp selectedChannelMenuUserItemAvatarSize, Dp attachmentsContentImageWidth, Dp attachmentsContentGiphyWidth, Dp attachmentsContentGiphyHeight, Dp attachmentsContentLinkWidth, Dp attachmentsContentFileWidth, Dp attachmentsContentFileUploadWidth, Dp attachmentsContentUnsupportedWidth, Dp threadSeparatorVerticalPadding, Dp threadSeparatorTextVerticalPadding, Dp messageOptionsItemHeight, Dp suggestionListMaxHeight, Dp suggestionListPadding, Dp suggestionListElevation, Dp mentionSuggestionItemHorizontalPadding, Dp mentionSuggestionItemVerticalPadding, Dp mentionSuggestionItemAvatarSize, Dp commandSuggestionItemHorizontalPadding, Dp commandSuggestionItemVerticalPadding, Dp commandSuggestionItemIconSize, Dp threadParticipantItemSize, Dp userReactionsMaxHeight, Dp userReactionItemWidth, Dp userReactionItemAvatarSize, Dp userReactionItemIconSize, Dp reactionOptionItemIconSize, Dp headerElevation, Dp messageItemMaxWidth, Dp quotedMessageTextVerticalPadding, Dp quotedMessageTextHorizontalPadding, Dp quotedMessageAttachmentPreviewSize, Dp quotedMessageAttachmentTopPadding, Dp quotedMessageAttachmentBottomPadding, Dp quotedMessageAttachmentStartPadding, Dp quotedMessageAttachmentEndPadding, Dp quotedMessageAttachmentSpacerHorizontal, Dp quotedMessageAttachmentSpacerVertical, Dp groupAvatarInitialsXOffset, Dp groupAvatarInitialsYOffset, Dp attachmentsPickerHeight, Dp attachmentsSystemPickerHeight, Dp attachmentsContentImageMaxHeight, Dp attachmentsContentGiphyMaxWidth, Dp attachmentsContentGiphyMaxHeight, Dp attachmentsContentVideoMaxHeight, Dp attachmentsContentMediaGridSpacing, Dp attachmentsContentVideoWidth, Dp attachmentsContentGroupPreviewWidth, Dp attachmentsContentGroupPreviewHeight, Dp pollOptionInputHeight, Dp messageComposerShadowElevation)
- Parameters:
channelItemVerticalPadding- The vertical content padding inside channel list item.channelItemHorizontalPadding- The horizontal content padding inside channel list item.channelAvatarSize- The size of channel avatar.selectedChannelMenuUserItemWidth- The width of a member tile in the selected channel menu.selectedChannelMenuUserItemHorizontalPadding- The padding inside a member tile in the selected channel menu.selectedChannelMenuUserItemAvatarSize- The size of a member avatar in the selected channel menu.attachmentsContentImageWidth- The width of image attachments in the message list.attachmentsContentGiphyWidth- The with of Giphy attachments in the message list.attachmentsContentGiphyHeight- The height of Giphy attachments in the message list.attachmentsContentLinkWidth- The with of link attachments in the message list.attachmentsContentFileWidth- The width of file attachments in the message list.attachmentsContentFileUploadWidth- The width of uploading file attachments in the message list.attachmentsContentUnsupportedWidth- The width of unsupported attachments in the message list.threadSeparatorVerticalPadding- The vertical content padding inside thread separator item.threadSeparatorTextVerticalPadding- The vertical padding inside thread separator text.messageOptionsItemHeight- The height of a message option item.suggestionListMaxHeight- The maximum height of the suggestion list popup.suggestionListPadding- The outer padding of the suggestion list popup.suggestionListElevation- THe elevation of the suggestion list popup.mentionSuggestionItemHorizontalPadding- The horizontal content padding inside mention list item.mentionSuggestionItemVerticalPadding- The vertical content padding inside mention list item.mentionSuggestionItemAvatarSize- The size of a channel avatar in the suggestion list popup.commandSuggestionItemHorizontalPadding- The horizontal content padding inside command list item.commandSuggestionItemVerticalPadding- The vertical content padding inside command list item.commandSuggestionItemIconSize- The size of a command icon in the suggestion list popup.threadParticipantItemSize- The size of thread participant avatar items.userReactionsMaxHeight- The max height of the message reactions section when we click on message reactions.userReactionItemWidth- The width of user reaction item.userReactionItemAvatarSize- The size of a user avatar in the user reaction item.userReactionItemIconSize- The size of a reaction icon in the user reaction item.reactionOptionItemIconSize- The size of a reaction option icon in the reaction options menu.headerElevation- The elevation of the headers, such as the ones appearing on the Channel or Message screens.messageItemMaxWidth- The max width of message items inside message list.quotedMessageTextVerticalPadding- The vertical padding of text inside quoted message.quotedMessageTextHorizontalPadding- The horizontal padding of text inside quoted message.quotedMessageAttachmentPreviewSize- The size of the quoted message attachment preview.quotedMessageAttachmentTopPadding- The top padding of the quoted message attachment preview.quotedMessageAttachmentBottomPadding- The bottom padding of the quoted message attachment preview.quotedMessageAttachmentStartPadding- The start padding of the quoted message attachment preview.quotedMessageAttachmentEndPadding- The end padding of the quoted message attachment preview.quotedMessageAttachmentSpacerHorizontal- The horizontal spacing between quoted message attachment components.quotedMessageAttachmentSpacerVertical- The vertical spacing between quoted message attachment components.groupAvatarInitialsXOffset- The x offset of the user initials inside avatar when there are more than two users.groupAvatarInitialsYOffset- The y offset of the user initials inside avatar when there are more than two users.attachmentsPickerHeight- The height of the attachments picker.attachmentsSystemPickerHeight- The height of the system attachments picker.attachmentsContentImageMaxHeight- The maximum height an image attachment will expand to while automatically re-sizing itself in order to obey its aspect ratio.attachmentsContentGiphyMaxWidth- The maximum width a Giphy attachment will expand to while automatically re-sizing itself in order to follow its aspect ratio.attachmentsContentGiphyMaxHeight- The maximum height a Giphy attachment will expand to while automatically re-sizing itself in order to follow its aspect ratio.attachmentsContentVideoMaxHeight- The maximum height video attachment will expand to while automatically re-sizing itself in order to obey its aspect ratio.attachmentsContentMediaGridSpacing- The spacing between media preview tiles in the message list.attachmentsContentVideoWidth- The width of media attachment previews in the message list.attachmentsContentGroupPreviewWidth- The width of the container displaying media previews tiled in a group in the message list.attachmentsContentGroupPreviewHeight- The height of the container displaying media previews tiled in a group in the message list.pollOptionInputHeight- The height of the poll option input field.messageComposerShadowElevation- The elevation of the message composer shadow.
-
-
Method Detail
-
getChannelItemVerticalPadding
final Dp getChannelItemVerticalPadding()
-
getChannelItemHorizontalPadding
final Dp getChannelItemHorizontalPadding()
-
getChannelAvatarSize
final Dp getChannelAvatarSize()
-
getSelectedChannelMenuUserItemWidth
final Dp getSelectedChannelMenuUserItemWidth()
-
getSelectedChannelMenuUserItemHorizontalPadding
final Dp getSelectedChannelMenuUserItemHorizontalPadding()
-
getSelectedChannelMenuUserItemAvatarSize
final Dp getSelectedChannelMenuUserItemAvatarSize()
-
getAttachmentsContentImageWidth
final Dp getAttachmentsContentImageWidth()
-
getAttachmentsContentGiphyWidth
final Dp getAttachmentsContentGiphyWidth()
-
getAttachmentsContentGiphyHeight
final Dp getAttachmentsContentGiphyHeight()
-
getAttachmentsContentLinkWidth
final Dp getAttachmentsContentLinkWidth()
-
getAttachmentsContentFileWidth
final Dp getAttachmentsContentFileWidth()
-
getAttachmentsContentFileUploadWidth
final Dp getAttachmentsContentFileUploadWidth()
-
getAttachmentsContentUnsupportedWidth
final Dp getAttachmentsContentUnsupportedWidth()
-
getThreadSeparatorVerticalPadding
final Dp getThreadSeparatorVerticalPadding()
-
getThreadSeparatorTextVerticalPadding
final Dp getThreadSeparatorTextVerticalPadding()
-
getMessageOptionsItemHeight
final Dp getMessageOptionsItemHeight()
-
getSuggestionListMaxHeight
final Dp getSuggestionListMaxHeight()
-
getSuggestionListPadding
final Dp getSuggestionListPadding()
-
getSuggestionListElevation
final Dp getSuggestionListElevation()
-
getMentionSuggestionItemHorizontalPadding
final Dp getMentionSuggestionItemHorizontalPadding()
-
getMentionSuggestionItemVerticalPadding
final Dp getMentionSuggestionItemVerticalPadding()
-
getMentionSuggestionItemAvatarSize
final Dp getMentionSuggestionItemAvatarSize()
-
getCommandSuggestionItemHorizontalPadding
final Dp getCommandSuggestionItemHorizontalPadding()
-
getCommandSuggestionItemVerticalPadding
final Dp getCommandSuggestionItemVerticalPadding()
-
getCommandSuggestionItemIconSize
final Dp getCommandSuggestionItemIconSize()
-
getThreadParticipantItemSize
final Dp getThreadParticipantItemSize()
-
getUserReactionsMaxHeight
final Dp getUserReactionsMaxHeight()
-
getUserReactionItemWidth
final Dp getUserReactionItemWidth()
-
getUserReactionItemAvatarSize
final Dp getUserReactionItemAvatarSize()
-
getUserReactionItemIconSize
final Dp getUserReactionItemIconSize()
-
getReactionOptionItemIconSize
final Dp getReactionOptionItemIconSize()
-
getHeaderElevation
final Dp getHeaderElevation()
-
getMessageItemMaxWidth
final Dp getMessageItemMaxWidth()
-
getQuotedMessageTextVerticalPadding
final Dp getQuotedMessageTextVerticalPadding()
-
getQuotedMessageTextHorizontalPadding
final Dp getQuotedMessageTextHorizontalPadding()
-
getQuotedMessageAttachmentPreviewSize
final Dp getQuotedMessageAttachmentPreviewSize()
-
getQuotedMessageAttachmentTopPadding
final Dp getQuotedMessageAttachmentTopPadding()
-
getQuotedMessageAttachmentBottomPadding
final Dp getQuotedMessageAttachmentBottomPadding()
-
getQuotedMessageAttachmentStartPadding
final Dp getQuotedMessageAttachmentStartPadding()
-
getQuotedMessageAttachmentEndPadding
final Dp getQuotedMessageAttachmentEndPadding()
-
getQuotedMessageAttachmentSpacerHorizontal
final Dp getQuotedMessageAttachmentSpacerHorizontal()
-
getQuotedMessageAttachmentSpacerVertical
final Dp getQuotedMessageAttachmentSpacerVertical()
-
getGroupAvatarInitialsXOffset
final Dp getGroupAvatarInitialsXOffset()
-
getGroupAvatarInitialsYOffset
final Dp getGroupAvatarInitialsYOffset()
-
getAttachmentsPickerHeight
final Dp getAttachmentsPickerHeight()
-
getAttachmentsSystemPickerHeight
final Dp getAttachmentsSystemPickerHeight()
-
getAttachmentsContentImageMaxHeight
final Dp getAttachmentsContentImageMaxHeight()
-
getAttachmentsContentGiphyMaxWidth
final Dp getAttachmentsContentGiphyMaxWidth()
-
getAttachmentsContentGiphyMaxHeight
final Dp getAttachmentsContentGiphyMaxHeight()
-
getAttachmentsContentVideoMaxHeight
final Dp getAttachmentsContentVideoMaxHeight()
-
getAttachmentsContentMediaGridSpacing
final Dp getAttachmentsContentMediaGridSpacing()
-
getAttachmentsContentVideoWidth
final Dp getAttachmentsContentVideoWidth()
-
getAttachmentsContentGroupPreviewWidth
final Dp getAttachmentsContentGroupPreviewWidth()
-
getAttachmentsContentGroupPreviewHeight
final Dp getAttachmentsContentGroupPreviewHeight()
-
getPollOptionInputHeight
final Dp getPollOptionInputHeight()
-
getMessageComposerShadowElevation
final Dp getMessageComposerShadowElevation()
-
-
-
-