InAppNotificationModalViewStyle
Implements the style properties for a modal in-app notification view. Provides concrete values for the text and button styles specified in the InAppNotificationViewStyle interface.
Syntax: class InAppNotificationModalViewStyle(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) : InAppNotificationViewStyle
Implements the style properties for a modal in-app notification view. Provides concrete values for the text and button styles specified in the InAppNotificationViewStyle interface.
Constructors
Public Constructor | Description |
---|---|
InAppNotificationModalViewStyle | constructor( textColor: Int, textSize: Float, textTypeface: Typeface, titleTextColor: Int, titleTextSize: Float, titleTextTypeface: Typeface, backgroundResource: Int, backgroundColor: Int, buttonStyle: InAppNotificationButtonStyle ) |
Properties
Name | Return 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 is drawable. |
buttonStyle | String | open override var buttonStyle: InAppNotificationButtonStyle The style configuration for the notification action button. |
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 textSize: Float The size of 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