Action Menu Colors
class ActionMenuColors(val backgroundColor: Color = Color.Unspecified, val labelColor: Color = Color.Unspecified, val fixedActionsPanelBackgroundColor: Color = Color.Unspecified, val fixedActionsIconBackgroundColor: Color = Color.Unspecified, val fixedActionsIconColor: Color = Color.Unspecified)
Color scheme for the action menu, the sheet the share button opens.
A color left Color.Unspecified takes its Material 3 role from the scheme's UiColorScheme.material when the scheme is resolved.
Properties
Link copied to clipboard
Background of the sheet; background by default.
Link copied to clipboard
Background of each fixed action's icon; primary by default.
Link copied to clipboard
Tint of each fixed action's icon on fixedActionsIconBackgroundColor; onPrimary by default. The XML theme's scheme takes it from pspdf__fixedActionsIconColor.
Link copied to clipboard
Background of the panel holding the fixed actions at the top of the sheet; background by default.
Link copied to clipboard
Title and action labels; onBackground by default.
Functions
Link copied to clipboard
fun copy(backgroundColor: Color = this.backgroundColor, labelColor: Color = this.labelColor, fixedActionsPanelBackgroundColor: Color = this.fixedActionsPanelBackgroundColor, fixedActionsIconBackgroundColor: Color = this.fixedActionsIconBackgroundColor, fixedActionsIconColor: Color = this.fixedActionsIconColor): ActionMenuColors
Returns a copy with the given colors replaced.
Link copied to clipboard
Two ActionMenuColors are equal when all their colors are.