public static final class Card.Builder extends Component.Builder<Card.Builder>
mResourceResolver
Constructor and Description |
---|
Builder() |
accessibilityHeading, accessibilityRole, accessibilityRoleDescription, accessibilityRoleDescription, accessibilityRoleDescription, alignSelf, alpha, alpha, aspectRatio, background, backgroundAttr, backgroundAttr, backgroundColor, backgroundColor, backgroundRes, border, checkArgs, clickable, clickHandler, clipChildren, clipToOutline, clone, contentDescription, contentDescription, contentDescription, dispatchPopulateAccessibilityEventHandler, duplicateParentState, enabled, flex, flexBasisAttr, flexBasisAttr, flexBasisDip, flexBasisPercent, flexBasisPx, flexBasisRes, flexGrow, flexShrink, focusable, focusChangeHandler, focusedHandler, foreground, foregroundAttr, foregroundAttr, foregroundColor, foregroundRes, fullImpressionHandler, getContext, handle, hasBackgroundSet, hasClickHandlerSet, heightAttr, heightAttr, heightDip, heightPercent, heightPx, heightRes, importantForAccessibility, init, interceptTouchHandler, invisibleHandler, isReferenceBaseline, key, layoutDirection, longClickHandler, marginAttr, marginAttr, marginAuto, marginDip, marginPercent, marginPx, marginRes, maxHeightAttr, maxHeightAttr, maxHeightDip, maxHeightPercent, maxHeightPx, maxHeightRes, maxWidthAttr, maxWidthAttr, maxWidthDip, maxWidthPercent, maxWidthPx, maxWidthRes, minHeightAttr, minHeightAttr, minHeightDip, minHeightPercent, minHeightPx, minHeightRes, minWidthAttr, minWidthAttr, minWidthDip, minWidthPercent, minWidthPx, minWidthRes, onInitializeAccessibilityEventHandler, onInitializeAccessibilityNodeInfoHandler, onPopulateAccessibilityEventHandler, onRequestSendAccessibilityEventHandler, outlineProvider, paddingAttr, paddingAttr, paddingDip, paddingPercent, paddingPx, paddingRes, performAccessibilityActionHandler, positionAttr, positionAttr, positionDip, positionPercent, positionPx, positionRes, positionType, rotation, rotation, rotationX, rotationY, scale, scaleX, scaleY, selected, sendAccessibilityEventHandler, sendAccessibilityEventUncheckedHandler, shadowElevation, shadowElevationAttr, shadowElevationAttr, shadowElevationDip, shadowElevationPx, shadowElevationRes, stateListAnimator, stateListAnimatorRes, testKey, touchExpansionAttr, touchExpansionAttr, touchExpansionDip, touchExpansionPx, touchExpansionRes, touchHandler, transitionKey, transitionKeyType, translationX, translationY, unfocusedHandler, useHeightAsBaseline, viewTag, viewTags, visibilityChangedHandler, visibleHandler, visibleHeightRatio, visibleWidthRatio, widthAttr, widthAttr, widthDip, widthPercent, widthPx, widthRes, wrapInView
protected void setComponent(Component component)
setComponent
in class Component.Builder<Card.Builder>
public Card.Builder cardBackgroundColor(int cardBackgroundColor)
public Card.Builder cardBackgroundColorRes(int resId)
public Card.Builder cardBackgroundColorAttr(int attrResId, int defResId)
public Card.Builder cardBackgroundColorAttr(int attrResId)
public Card.Builder clippingColor(int clippingColor)
public Card.Builder clippingColorRes(int resId)
public Card.Builder clippingColorAttr(int attrResId, int defResId)
public Card.Builder clippingColorAttr(int attrResId)
public Card.Builder content(Component content)
public Card.Builder content(Component.Builder<?> contentBuilder)
public Card.Builder cornerRadiusPx(float cornerRadius)
public Card.Builder cornerRadiusDip(float dip)
public Card.Builder cornerRadiusSp(float sip)
public Card.Builder cornerRadiusRes(int resId)
public Card.Builder cornerRadiusAttr(int attrResId, int defResId)
public Card.Builder cornerRadiusAttr(int attrResId)
public Card.Builder disableClipBottomLeft(boolean disableClipBottomLeft)
public Card.Builder disableClipBottomRight(boolean disableClipBottomRight)
public Card.Builder disableClipTopLeft(boolean disableClipTopLeft)
public Card.Builder disableClipTopRight(boolean disableClipTopRight)
public Card.Builder elevationPx(float elevation)
public Card.Builder elevationDip(float dip)
public Card.Builder elevationSp(float sip)
public Card.Builder elevationRes(int resId)
public Card.Builder elevationAttr(int attrResId, int defResId)
public Card.Builder elevationAttr(int attrResId)
public Card.Builder shadowBottomOverridePx(int shadowBottomOverride)
public Card.Builder shadowBottomOverrideDip(float dip)
public Card.Builder shadowBottomOverrideSp(float sip)
public Card.Builder shadowBottomOverrideRes(int resId)
public Card.Builder shadowBottomOverrideAttr(int attrResId, int defResId)
public Card.Builder shadowBottomOverrideAttr(int attrResId)
public Card.Builder shadowEndColor(int shadowEndColor)
public Card.Builder shadowEndColorRes(int resId)
public Card.Builder shadowEndColorAttr(int attrResId, int defResId)
public Card.Builder shadowEndColorAttr(int attrResId)
public Card.Builder shadowStartColor(int shadowStartColor)
public Card.Builder shadowStartColorRes(int resId)
public Card.Builder shadowStartColorAttr(int attrResId, int defResId)
public Card.Builder shadowStartColorAttr(int attrResId)
public Card.Builder shadowTopOverridePx(int shadowTopOverride)
public Card.Builder shadowTopOverrideDip(float dip)
public Card.Builder shadowTopOverrideSp(float sip)
public Card.Builder shadowTopOverrideRes(int resId)
public Card.Builder shadowTopOverrideAttr(int attrResId, int defResId)
public Card.Builder shadowTopOverrideAttr(int attrResId)
public Card.Builder getThis()
getThis
in class Component.Builder<Card.Builder>
public Card build()
build
in class Component.Builder<Card.Builder>