Style

data class Style(val title: POTextStyle? = null, val input: POInputStyle? = null, val codeInput: POInputStyle? = null, val dropdownMenu: POInputFieldStyle? = null, val radioButton: PORadioButtonStyle? = null, val primaryButton: POButtonStyle? = null, val secondaryButton: POButtonStyle? = null, val background: POBackgroundStyle? = null, @ColorInt val backgroundColor: Int? = null, @ColorInt val progressIndicatorColor: Int? = null, @ColorInt val controlsTintColor: Int? = null, val message: POTextStyle? = null, val successMessage: POTextStyle? = null, @DrawableRes val successImageResId: Int? = null, val backgroundDecoration: POBackgroundDecorationStyle? = null, val dialog: PODialogStyle? = null) : Parcelable

Allows to customize the look and feel.

Parameters

title

Title style.

input

Input style.

codeInput

Code input style.

dropdownMenu

Dropdown menu style.

radioButton

Radio button style.

primaryButton

Primary button style.

secondaryButton

Secondary button style.

background

Background style.

backgroundColor

Deprecated. Background color.

progressIndicatorColor

Color of progress indicator.

controlsTintColor

Tint color that applies to generic components (e.g. selectable TextView).

message

Message style.

successMessage

Success message style.

successImageResId

Success image drawable resource ID.

backgroundDecoration

Deprecated. Background decoration style.

dialog

Dialog style.

Constructors

Link copied to clipboard
constructor(title: POTextStyle? = null, input: POInputStyle? = null, codeInput: POInputStyle? = null, dropdownMenu: POInputFieldStyle? = null, radioButton: PORadioButtonStyle? = null, primaryButton: POButtonStyle? = null, secondaryButton: POButtonStyle? = null, background: POBackgroundStyle? = null, @ColorInt backgroundColor: Int? = null, @ColorInt progressIndicatorColor: Int? = null, @ColorInt controlsTintColor: Int? = null, message: POTextStyle? = null, successMessage: POTextStyle? = null, @DrawableRes successImageResId: Int? = null, backgroundDecoration: POBackgroundDecorationStyle? = null, dialog: PODialogStyle? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val backgroundColor: Int? = null
Link copied to clipboard
val codeInput: POInputStyle? = null
Link copied to clipboard
val controlsTintColor: Int? = null
Link copied to clipboard
val dialog: PODialogStyle? = null
Link copied to clipboard
Link copied to clipboard
val input: POInputStyle? = null
Link copied to clipboard
val message: POTextStyle? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val successImageResId: Int? = null
Link copied to clipboard
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)