InAppNotificationBannerViewStyle
Implements the style properties for a banner in-app notification view. Extends the InAppNotificationViewStyle interface to provide concrete values for the text and button styles, as well as additional properties for close, expand, and collapse buttons within the banner notification view.
Implements the style properties for a banner in-app notification view. Extends the InAppNotificationViewStyle interface to provide concrete values for the text and button styles, as well as additional properties for close, expand, and collapse buttons within the banner notification view.
Syntax: class InAppNotificationBannerViewStyle(var textColor: Int,var textSize: Float,var textTypeface: Typeface,var titleTextColor: Int,var titleTextSize: Float,var titleTextTypeface: Typeface,var backgroundResource: Int,var backgroundColor: Int,var buttonStyle: InAppNotificationButtonStyle,var closeButtonSrc: Int,var expandButtonSrc: Int,var collapseButtonSrc: Int) : InAppNotificationViewStyle
Constructors
Name | Syntax |
---|---|
InAppNotificationBannerViewStyle | constructor(textColor: Int, textSize: Float, textTypeface: Typeface, titleTextColor: Int, titleTextSize: Float, titleTextTypeface: Typeface, backgroundResource: Int, backgroundColor: Int, buttonStyle: InAppNotificationButtonStyle, closeButtonSrc: Int, expandButtonSrc: Int, collapseButtonSrc: Int) |
Properties
Name | Type | Description |
---|---|---|
backgroundColor | Int | open override var backgroundColor: Int The color of the notification view's background. |
backgroundResource | Int | open override var backgroundResource: Int The resource ID for the notification view's background drawable. |
buttonStyle | String | open override var buttonStyle: InAppNotificationButtonStyle The style configuration for the notification action button. |
closeButtonSrc | Int | var closeButtonSrc: Int The resource ID for the close button's image source. |
collapseButtonSrc | Int | var collapseButtonSrc: Int The resource ID for the collapse button's image source. |
expandButtonSrc | Int | var expandButtonSrc: Int The resource ID for the expand button's image source. |
textColor | Int | open override var textColor: Int The color of the notification message text. |
textSize | Float | open override var textSize: Float The size of the notification message text. |
textTypeface | String | open override var textTypeface: Typeface The typeface used for the notification message text |
titleTextColor | Int | open override var titleTextColor: Int The color of the notification title text. |
titleTextSize | Float | open override var titleTextSize: Float The size of the notification title text. |
titleTextTypeface | String | open override var titleTextTypeface: Typeface The typeface used for the notification title text. |
Updated about 1 month ago