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)