Style

data class Style(val title: POTextStyle? = null, val field: POFieldStyle? = null, val errorMessage: POTextStyle? = null, val actionsContainer: POActionsContainerStyle? = null, @ColorRes val backgroundColorResId: Int? = null, @ColorRes val dividerColorResId: Int? = null, @ColorRes val dragHandleColorResId: Int? = null) : Parcelable

Allows to customize the look and feel.

Parameters

title

Title style.

field

Field style.

errorMessage

Error message style.

actionsContainer

Style of action buttons and their container.

backgroundColorResId

Color resource ID for background.

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, field: POFieldStyle? = null, errorMessage: POTextStyle? = null, actionsContainer: POActionsContainerStyle? = null, @ColorRes backgroundColorResId: Int? = null, @ColorRes dividerColorResId: Int? = null, @ColorRes dragHandleColorResId: Int? = null)

Properties

Link copied to clipboard
val actionsContainer: POActionsContainerStyle? = null
Link copied to clipboard
Link copied to clipboard
val dividerColorResId: Int? = null
Link copied to clipboard
Link copied to clipboard
val errorMessage: POTextStyle? = null
Link copied to clipboard
val field: POFieldStyle? = 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)