Style

data class Style(val title: POTextStyle? = null, val bodyText: POTextStyle? = null, val labeledContent: POLabeledContentStyle? = null, val groupedContent: POGroupedContentStyle? = null, val field: POFieldStyle? = null, val codeField: POFieldStyle? = null, val radioField: PORadioFieldStyle? = null, val dropdownMenu: PODropdownMenuStyle? = null, val checkbox: POCheckboxStyle? = null, val dialog: PODialogStyle? = null, val stepper: POStepperStyle? = null, val success: PONativeAlternativePaymentConfiguration.Style.SuccessStyle? = null, val errorMessageBox: POMessageBoxStyle? = null, val actionsContainer: POActionsContainerStyle? = null, @ColorRes val backgroundColorResId: Int? = null, @ColorRes val progressIndicatorColorResId: Int? = null, @ColorRes val controlsTintColorResId: Int? = null, @ColorRes val dividerColorResId: Int? = null, @ColorRes val dragHandleColorResId: Int? = null) : Parcelable

Custom style.

Parameters

title

Title style.

bodyText

Body text style, such as customer instructions.

labeledContent

Labeled content style, such as customer instructions.

groupedContent

Grouped content style, such as customer instructions.

field

Field style.

codeField

Code field style.

radioField

Radio field style.

dropdownMenu

Dropdown menu style.

checkbox

Checkbox style.

dialog

Dialog style.

stepper

Multi-step progress view style.

success

Success screen style.

errorMessageBox

Error message box style.

actionsContainer

Style of action buttons and their container.

backgroundColorResId

Color resource ID for background.

progressIndicatorColorResId

Color resource ID for progress indicator.

controlsTintColorResId

Color resource ID for tint that applies to generic components (e.g. selectable text).

dividerColorResId

Color resource ID for title divider.

dragHandleColorResId

Color resource ID for bottom sheet drag handle.

Constructors

Link copied to clipboard
constructor(title: POTextStyle? = null, label: POTextStyle? = null, field: POFieldStyle? = null, codeField: POFieldStyle? = null, radioButton: PORadioButtonStyle? = null, dropdownMenu: PODropdownMenuStyle? = null, actionsContainer: POActionsContainerStyle? = null, dialog: PODialogStyle? = null, background: POBackgroundStyle? = null, message: POTextStyle? = null, errorMessage: POTextStyle? = null, successMessage: POTextStyle? = null, @DrawableRes successImageResId: Int? = null, @ColorRes progressIndicatorColorResId: Int? = null, @ColorRes controlsTintColorResId: Int? = null, @ColorRes dividerColorResId: Int? = null, @ColorRes dragHandleColorResId: Int? = null)

Custom style.

constructor(title: POTextStyle? = null, bodyText: POTextStyle? = null, labeledContent: POLabeledContentStyle? = null, groupedContent: POGroupedContentStyle? = null, field: POFieldStyle? = null, codeField: POFieldStyle? = null, radioField: PORadioFieldStyle? = null, dropdownMenu: PODropdownMenuStyle? = null, checkbox: POCheckboxStyle? = null, dialog: PODialogStyle? = null, stepper: POStepperStyle? = null, success: PONativeAlternativePaymentConfiguration.Style.SuccessStyle? = null, errorMessageBox: POMessageBoxStyle? = null, actionsContainer: POActionsContainerStyle? = null, @ColorRes backgroundColorResId: Int? = null, @ColorRes progressIndicatorColorResId: Int? = null, @ColorRes controlsTintColorResId: Int? = null, @ColorRes dividerColorResId: Int? = null, @ColorRes dragHandleColorResId: Int? = null)

Types

Link copied to clipboard
data class SuccessStyle(val title: POTextStyle? = null, val message: POTextStyle? = null, @DrawableRes val successImageResId: Int? = null) : Parcelable

Success screen style.

Properties

Link copied to clipboard
val actionsContainer: POActionsContainerStyle? = null
Link copied to clipboard
Link copied to clipboard
val bodyText: POTextStyle? = null
Link copied to clipboard
val checkbox: POCheckboxStyle? = null
Link copied to clipboard
val codeField: POFieldStyle? = null
Link copied to clipboard
Link copied to clipboard
val dialog: PODialogStyle? = null
Link copied to clipboard
val dividerColorResId: Int? = null
Link copied to clipboard
Link copied to clipboard
val dropdownMenu: PODropdownMenuStyle? = null
Link copied to clipboard
val errorMessageBox: POMessageBoxStyle? = null
Link copied to clipboard
val field: POFieldStyle? = null
Link copied to clipboard
val groupedContent: POGroupedContentStyle? = null
Link copied to clipboard
val labeledContent: POLabeledContentStyle? = null
Link copied to clipboard
Link copied to clipboard
val radioField: PORadioFieldStyle? = null
Link copied to clipboard
val stepper: POStepperStyle? = null
Link copied to clipboard
val title: POTextStyle? = null

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)