Style

data class Style(val title: POTextStyle? = null, val label: POTextStyle? = null, val field: POFieldStyle? = null, val codeField: POFieldStyle? = null, val radioButton: PORadioButtonStyle? = null, val dropdownMenu: PODropdownMenuStyle? = null, val actionsContainer: POActionsContainerStyle? = null, val dialog: PODialogStyle? = null, val background: POBackgroundStyle? = null, val message: POTextStyle? = null, val errorMessage: POTextStyle? = null, val successMessage: POTextStyle? = null, @DrawableRes val successImageResId: Int? = null, @ColorRes val progressIndicatorColorResId: Int? = null, @ColorRes val controlsTintColorResId: Int? = null, @ColorRes val dividerColorResId: Int? = null, @ColorRes val dragHandleColorResId: Int? = null) : Parcelable

Allows to customize the look and feel.

Parameters

title

Title style.

label

Field label style.

field

Field style.

codeField

Code field style.

radioButton

Radio button style.

dropdownMenu

Dropdown menu style.

actionsContainer

Style of action buttons and their container.

dialog

Dialog style.

background

Background style.

message

Message style.

errorMessage

Error message style.

successMessage

Success message style.

successImageResId

Success image drawable resource ID.

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)

Properties

Link copied to clipboard
val actionsContainer: POActionsContainerStyle? = null
Link copied to clipboard
val background: POBackgroundStyle? = 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 errorMessage: POTextStyle? = null
Link copied to clipboard
val field: POFieldStyle? = null
Link copied to clipboard
val label: POTextStyle? = null
Link copied to clipboard
val message: POTextStyle? = null
Link copied to clipboard
Link copied to clipboard
val radioButton: PORadioButtonStyle? = null
Link copied to clipboard
val successImageResId: Int? = null
Link copied to clipboard
val successMessage: POTextStyle? = 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)