Class AttachmentGalleryOptionsViewStyle
-
- All Implemented Interfaces:
-
io.getstream.chat.android.ui.helper.ViewStyle
public final class AttachmentGalleryOptionsViewStyle implements ViewStyle
Controls how video attachments are displayed inside of the AttachmentGalleryActivity.
-
-
Field Summary
Fields Modifier and Type Field Description private final TextStyleoptionTextStyleprivate final IntegerbackgroundColorprivate final BooleanreplyOptionEnabledprivate final DrawablereplyOptionDrawableprivate final BooleanshowInChatOptionEnabledprivate final DrawableshowInChatOptionDrawableprivate final BooleansaveMediaOptionEnabledprivate final DrawablesaveMediaOptionDrawableprivate final BooleandeleteOptionEnabledprivate final DrawabledeleteOptionDrawableprivate final IntegerdeleteOptionTextColor
-
Constructor Summary
Constructors Constructor Description AttachmentGalleryOptionsViewStyle(TextStyle optionTextStyle, Integer backgroundColor, Boolean replyOptionEnabled, Drawable replyOptionDrawable, Boolean showInChatOptionEnabled, Drawable showInChatOptionDrawable, Boolean saveMediaOptionEnabled, Drawable saveMediaOptionDrawable, Boolean deleteOptionEnabled, Drawable deleteOptionDrawable, Integer deleteOptionTextColor)
-
Method Summary
Modifier and Type Method Description final TextStylegetOptionTextStyle()final IntegergetBackgroundColor()final BooleangetReplyOptionEnabled()final DrawablegetReplyOptionDrawable()final BooleangetShowInChatOptionEnabled()final DrawablegetShowInChatOptionDrawable()final BooleangetSaveMediaOptionEnabled()final DrawablegetSaveMediaOptionDrawable()final BooleangetDeleteOptionEnabled()final DrawablegetDeleteOptionDrawable()final IntegergetDeleteOptionTextColor()-
-
Constructor Detail
-
AttachmentGalleryOptionsViewStyle
AttachmentGalleryOptionsViewStyle(TextStyle optionTextStyle, Integer backgroundColor, Boolean replyOptionEnabled, Drawable replyOptionDrawable, Boolean showInChatOptionEnabled, Drawable showInChatOptionDrawable, Boolean saveMediaOptionEnabled, Drawable saveMediaOptionDrawable, Boolean deleteOptionEnabled, Drawable deleteOptionDrawable, Integer deleteOptionTextColor)
- Parameters:
optionTextStyle- The text style of each option.backgroundColor- The background color of the options dialog.replyOptionEnabled- If the "reply" option is present in the list.replyOptionDrawable- The icon to the "reply" option.showInChatOptionEnabled- If the "show in chat" option present in the list.showInChatOptionDrawable- The icon for the "show in chat" option.saveMediaOptionEnabled- If the "save media" option is present in the list.saveMediaOptionDrawable- The icon for the "save media" option.deleteOptionEnabled- If the "delete" option is present in the list.deleteOptionDrawable- The icon for the "delete" option.deleteOptionTextColor- The text color of the "delete" option.
-
-
Method Detail
-
getOptionTextStyle
final TextStyle getOptionTextStyle()
-
getBackgroundColor
final Integer getBackgroundColor()
-
getReplyOptionEnabled
final Boolean getReplyOptionEnabled()
-
getReplyOptionDrawable
final Drawable getReplyOptionDrawable()
-
getShowInChatOptionEnabled
final Boolean getShowInChatOptionEnabled()
-
getShowInChatOptionDrawable
final Drawable getShowInChatOptionDrawable()
-
getSaveMediaOptionEnabled
final Boolean getSaveMediaOptionEnabled()
-
getSaveMediaOptionDrawable
final Drawable getSaveMediaOptionDrawable()
-
getDeleteOptionEnabled
final Boolean getDeleteOptionEnabled()
-
getDeleteOptionDrawable
final Drawable getDeleteOptionDrawable()
-
getDeleteOptionTextColor
final Integer getDeleteOptionTextColor()
-
-
-
-