CLASS
NotificationBannerViewStyle
Contents
- Methods
init(actionTextAppearanceName:actionTextColorName:textAppearanceName:textColorName:paddingLeft:paddingTop:paddingRight:paddingBottom:backgroundColor:)
public final class NotificationBannerViewStyle: UIStyle
The UIStyle subclass used for NotificationBannerView
UI component styling definitions.
- Note: Available NotificationBannerViewStyle Theme configuration options:
- actionTextAppearance: String
- actionTextColorName: String
- backgroundColorName: String
- paddingLeft: Number
- paddingRight: Number
- textAppearanceName: String
- textColorName: String
Methods
init(actionTextAppearanceName:actionTextColorName:textAppearanceName:textColorName:paddingLeft:paddingTop:paddingRight:paddingBottom:backgroundColor:)
public init(actionTextAppearanceName: String,
actionTextColorName: String,
textAppearanceName: String,
textColorName: String,
paddingLeft: Double,
paddingTop: Double,
paddingRight: Double,
paddingBottom: Double,
backgroundColor: UIColor?)
Creates a NotificationBannerViewStyle. Used for testing purposes.
- Parameters:
- actionTextAppearanceName: The name of the text appearance for the action text.
- actionTextColorName: The name of the color for the action text.
- textAppearanceName: The name of the text appearance for the text.
- textColorName: The name of the color for the text.
- paddingLeft: The left padding of the view.
- paddingTop: The top padding of the view.
- paddingRight: The right padding of the view.
- paddingBottom: The bottom padding of the view.
- backgroundColor: The background color.
Parameters
Name | Description |
---|---|
actionTextAppearanceName | The name of the text appearance for the action text. |
actionTextColorName | The name of the color for the action text. |
textAppearanceName | The name of the text appearance for the text. |
textColorName | The name of the color for the text. |
paddingLeft | The left padding of the view. |
paddingTop | The top padding of the view. |
paddingRight | The right padding of the view. |
paddingBottom | The bottom padding of the view. |
backgroundColor | The background color. |