Class ChannelActionsDialogViewStyle
-
- All Implemented Interfaces:
-
io.getstream.chat.android.ui.helper.ViewStyle
public final class ChannelActionsDialogViewStyle implements ViewStyle
Style for ChannelActionsDialogFragment. Use this class together with TransformStyle.channelActionsDialogStyleTransformer to change ChannelActionsDialogFragment styles programmatically.
-
-
Field Summary
Fields Modifier and Type Field Description private final TextStylememberNamesTextStyleprivate final TextStylememberInfoTextStyleprivate final TextStyleitemTextStyleprivate final TextStylewarningItemTextStyleprivate final DrawableviewInfoIconprivate final BooleanviewInfoEnabledprivate final DrawableleaveGroupIconprivate final BooleanleaveGroupEnabledprivate final DrawabledeleteConversationIconprivate final BooleandeleteConversationEnabledprivate final DrawablecancelIconprivate final BooleancancelEnabledprivate final Drawablebackground
-
Constructor Summary
Constructors Constructor Description ChannelActionsDialogViewStyle(TextStyle memberNamesTextStyle, TextStyle memberInfoTextStyle, TextStyle itemTextStyle, TextStyle warningItemTextStyle, Drawable viewInfoIcon, Boolean viewInfoEnabled, Drawable leaveGroupIcon, Boolean leaveGroupEnabled, Drawable deleteConversationIcon, Boolean deleteConversationEnabled, Drawable cancelIcon, Boolean cancelEnabled, Drawable background)
-
Method Summary
Modifier and Type Method Description final TextStylegetMemberNamesTextStyle()Text appearance for dialog title with member names. final TextStylegetMemberInfoTextStyle()Text appearance for dialog subtitle with member info. final TextStylegetItemTextStyle()Text appearance for action item. final TextStylegetWarningItemTextStyle()final DrawablegetViewInfoIcon()Icon for view info action. final BooleangetViewInfoEnabled()Shows/hides view info action. final DrawablegetLeaveGroupIcon()Icon for leave group action. final BooleangetLeaveGroupEnabled()Shows/hides leave group action. final DrawablegetDeleteConversationIcon()Icon for delete conversation action. final BooleangetDeleteConversationEnabled()Shows/hides delete conversation action. final DrawablegetCancelIcon()Icon for dismiss dialog action. final BooleangetCancelEnabled()Shows/hides dismiss dialog action. final DrawablegetBackground()Dialog's background. -
-
Constructor Detail
-
ChannelActionsDialogViewStyle
ChannelActionsDialogViewStyle(TextStyle memberNamesTextStyle, TextStyle memberInfoTextStyle, TextStyle itemTextStyle, TextStyle warningItemTextStyle, Drawable viewInfoIcon, Boolean viewInfoEnabled, Drawable leaveGroupIcon, Boolean leaveGroupEnabled, Drawable deleteConversationIcon, Boolean deleteConversationEnabled, Drawable cancelIcon, Boolean cancelEnabled, Drawable background)
-
-
Method Detail
-
getMemberNamesTextStyle
final TextStyle getMemberNamesTextStyle()
Text appearance for dialog title with member names.
-
getMemberInfoTextStyle
final TextStyle getMemberInfoTextStyle()
Text appearance for dialog subtitle with member info.
-
getItemTextStyle
final TextStyle getItemTextStyle()
Text appearance for action item.
-
getWarningItemTextStyle
final TextStyle getWarningItemTextStyle()
-
getViewInfoIcon
final Drawable getViewInfoIcon()
Icon for view info action. Default value is R.drawable.stream_ui_ic_single_user.
-
getViewInfoEnabled
final Boolean getViewInfoEnabled()
Shows/hides view info action. Hidden by default.
-
getLeaveGroupIcon
final Drawable getLeaveGroupIcon()
Icon for leave group action. Default value is R.drawable.stream_ui_ic_leave_group.
-
getLeaveGroupEnabled
final Boolean getLeaveGroupEnabled()
Shows/hides leave group action. Shown by default.
-
getDeleteConversationIcon
final Drawable getDeleteConversationIcon()
Icon for delete conversation action. Default value is R.drawable.stream_ui_ic_delete.
-
getDeleteConversationEnabled
final Boolean getDeleteConversationEnabled()
Shows/hides delete conversation action. Shown by default.
-
getCancelIcon
final Drawable getCancelIcon()
Icon for dismiss dialog action. Default value is R.drawable.stream_ui_ic_clear.
-
getCancelEnabled
final Boolean getCancelEnabled()
Shows/hides dismiss dialog action. Shown by default.
-
getBackground
final Drawable getBackground()
Dialog's background.
-
-
-
-