TextCard.Builder | Button SDK for Android v7.0.0

Package Index

Interfaces

Classes

Enums

TextCard.Builder

Summary

Public Constructors

Public Methods

public TextCardbuild()

Builds the text card.

public TextCard.BuildersetBackgroundColor(int backgroundColor)

The background color of the card view. Defaults to #0CAC56 (Green).

public TextCard.Builder(int bodyColor)

The color with which the body will be displayed. Defaults to Color#WHITE.

public TextCard.Builder(float bodySize)

The title size in sp. Default to DEFAULT_TEXT_SIZE_BODY.

public TextCard.Builder(Typeface bodyTypeface)

The font with which the body will be displayed. Defaults to Typeface#DEFAULT.

public TextCard.Builder(int titleColor)

The color with which the title will be displayed. Defaults to Color#WHITE.

public TextCard.Builder(float titleSize)

The title size in sp. Default to DEFAULT_TEXT_SIZE_TITLE.

public TextCard.Builder(Typeface titleTypeface)

The font with which the title will be displayed. Defaults to Typeface#DEFAULT.