TextCard.Builder | Button SDK for Android v7.0.0
Package Index
- com.usebutton.sdk
- com.usebutton.sdk.action
- com.usebutton.sdk.autofill
- com.usebutton.sdk.boost
- com.usebutton.sdk.browser
- com.usebutton.sdk.configuration
- com.usebutton.sdk.context
- com.usebutton.sdk.debug
- com.usebutton.sdk.exception
- com.usebutton.sdk.impression
- com.usebutton.sdk.models
- com.usebutton.sdk.personalization
- com.usebutton.sdk.purchasepath
- com.usebutton.sdk.user
Interfaces
- BrowserInterface
- BrowserInterface.Footer
- BrowserInterface.Header
- BrowserPage
- BrowserPage.DomResultListener
- CardList
- CheckoutPage
- ProductPage
- PurchasePage
- PurchasePath.Listener
- PurchasePathExtension
- PurchasePathInterface
- PurchasePathListener
Classes
- BrowserChromeClient
- CallToAction
- Card
- Commission
- Product
- PurchasePath
- PurchasePathRequest
- TextCard
- TextCard.Builder
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.