public final class CardColors


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

Summary

Public constructors

CardColors(
    @NonNull LayoutColor backgroundColor,
    @NonNull LayoutColor titleColor,
    @NonNull LayoutColor contentColor,
    @NonNull LayoutColor timeColor,
    @NonNull LayoutColor labelColor,
    @NonNull LayoutColor secondaryIconColor,
    @NonNull LayoutColor secondaryTextColor
)

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-alpha07
public CardColors(
    @NonNull LayoutColor backgroundColor,
    @NonNull LayoutColor titleColor,
    @NonNull LayoutColor contentColor,
    @NonNull LayoutColor timeColor,
    @NonNull LayoutColor labelColor,
    @NonNull LayoutColor secondaryIconColor,
    @NonNull LayoutColor secondaryTextColor
)
Parameters
@NonNull LayoutColor backgroundColor

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

@NonNull LayoutColor titleColor

the color used for title for the card.

@NonNull LayoutColor contentColor

the content color for the card.

@NonNull LayoutColor timeColor

the color used for time for the card.

@NonNull LayoutColor labelColor

the color used for label for the card.

@NonNull LayoutColor secondaryIconColor

the color used for icon in the data card type.

@NonNull LayoutColor secondaryTextColor

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

Public methods

getBackgroundColor

Added in 1.3.0-alpha07
public final @NonNull LayoutColor getBackgroundColor()

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

getContentColor

Added in 1.3.0-alpha07
public final @NonNull LayoutColor getContentColor()

the content color for the card.

getLabelColor

Added in 1.3.0-alpha07
public final @NonNull LayoutColor getLabelColor()

the color used for label for the card.

getSecondaryIconColor

Added in 1.3.0-alpha07
public final @NonNull LayoutColor getSecondaryIconColor()

the color used for icon in the data card type.

getSecondaryTextColor

Added in 1.3.0-alpha07
public final @NonNull LayoutColor getSecondaryTextColor()

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

getTimeColor

Added in 1.3.0-alpha07
public final @NonNull LayoutColor getTimeColor()

the color used for time for the card.

getTitleColor

Added in 1.3.0-alpha07
public final @NonNull LayoutColor getTitleColor()

the color used for title for the card.