Style

data class Style(val title: POTextStyle? = null, val sectionTitle: POTextStyle? = null, val field: POFieldStyle? = null, val dropdownMenu: PODropdownMenuStyle? = 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.

sectionTitle

Section title style.

field

Field style.

dropdownMenu

Dropdown menu 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, sectionTitle: POTextStyle? = null, field: POFieldStyle? = null, dropdownMenu: PODropdownMenuStyle? = 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 dropdownMenu: PODropdownMenuStyle? = null
Link copied to clipboard
val errorMessage: POTextStyle? = null
Link copied to clipboard
val field: POFieldStyle? = null
Link copied to clipboard
val sectionTitle: 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)