public final class CardColors


Represents colors used in card components, such as titleCard or appCard.

Summary

Public constructors

CardColors(
    @NonNull LayoutColor background,
    @NonNull LayoutColor title,
    @NonNull LayoutColor content,
    @NonNull LayoutColor time,
    @NonNull LayoutColor label,
    @NonNull LayoutColor secondaryIcon,
    @NonNull LayoutColor secondaryText
)

Public methods

final @NonNull LayoutColor

LayoutColor which is used to as the background color for the card.

final @NonNull LayoutColor

the content color for the card.

final @NonNull LayoutColor

the color used for label for the card.

final @NonNull LayoutColor

the color used for icon in the data card type.

final @NonNull LayoutColor

the color used for secondary label for the data card type.

final @NonNull LayoutColor

the color used for time for the card.

final @NonNull LayoutColor

the color used for title for the card.

Public constructors

CardColors

Added in 1.3.0-alpha06
public CardColors(
    @NonNull LayoutColor background,
    @NonNull LayoutColor title,
    @NonNull LayoutColor content,
    @NonNull LayoutColor time,
    @NonNull LayoutColor label,
    @NonNull LayoutColor secondaryIcon,
    @NonNull LayoutColor secondaryText
)
Parameters
@NonNull LayoutColor background

LayoutColor which is used to as the background color for the card.

@NonNull LayoutColor title

the color used for title for the card.

@NonNull LayoutColor content

the content color for the card.

@NonNull LayoutColor time

the color used for time for the card.

@NonNull LayoutColor label

the color used for label for the card.

@NonNull LayoutColor secondaryIcon

the color used for icon in the data card type.

@NonNull LayoutColor secondaryText

the color used for secondary label for the data card type.

Public methods

getBackground

Added in 1.3.0-alpha06
public final @NonNull LayoutColor getBackground()

LayoutColor which is used to as the background color for the card.

getContent

Added in 1.3.0-alpha06
public final @NonNull LayoutColor getContent()

the content color for the card.

getLabel

Added in 1.3.0-alpha06
public final @NonNull LayoutColor getLabel()

the color used for label for the card.

getSecondaryIcon

Added in 1.3.0-alpha06
public final @NonNull LayoutColor getSecondaryIcon()

the color used for icon in the data card type.

getSecondaryText

Added in 1.3.0-alpha06
public final @NonNull LayoutColor getSecondaryText()

the color used for secondary label for the data card type.

getTime

Added in 1.3.0-alpha06
public final @NonNull LayoutColor getTime()

the color used for time for the card.

getTitle

Added in 1.3.0-alpha06
public final @NonNull LayoutColor getTitle()

the color used for title for the card.