public static class Card.Builder extends Component.Builder<Card.Builder>
Constructor and Description |
---|
Builder() |
accessibilityRole, alignSelf, alpha, aspectRatio, background, background, background, backgroundAttr, backgroundAttr, backgroundColor, backgroundRes, border, checkArgs, clickHandler, clipToOutline, contentDescription, contentDescription, contentDescription, dispatchPopulateAccessibilityEventHandler, duplicateParentState, enabled, flex, flexBasisAttr, flexBasisAttr, flexBasisDip, flexBasisPercent, flexBasisPx, flexBasisRes, flexGrow, flexShrink, focusable, focusChangeHandler, focusedHandler, foreground, foregroundAttr, foregroundAttr, foregroundColor, foregroundRes, fullImpressionHandler, heightAttr, heightAttr, heightDip, heightPercent, heightPx, heightRes, importantForAccessibility, init, interceptTouchHandler, invisibleHandler, 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, scale, selected, sendAccessibilityEventHandler, sendAccessibilityEventUncheckedHandler, shadowElevationAttr, shadowElevationAttr, shadowElevationDip, shadowElevationPx, shadowElevationRes, stateListAnimator, stateListAnimatorRes, testKey, touchExpansionAttr, touchExpansionAttr, touchExpansionDip, touchExpansionPx, touchExpansionRes, touchHandler, transitionKey, unfocusedHandler, viewTag, viewTags, visibleHandler, visibleHeightRatio, visibleWidthRatio, widthAttr, widthAttr, widthDip, widthPercent, widthPx, widthRes, wrapInView
dipsToPixels, init, resolveBoolAttr, resolveBoolRes, resolveColorAttr, resolveColorRes, resolveDimenOffsetAttr, resolveDimenOffsetRes, resolveDimenSizeAttr, resolveDimenSizeRes, resolveDrawableAttr, resolveDrawableRes, resolveFloatAttr, resolveFloatRes, resolveIntArrayAttr, resolveIntAttr, resolveIntegerArrayAttr, resolveIntegerArrayRes, resolveIntRes, resolveStringArrayAttr, resolveStringArrayRes, resolveStringAttr, resolveStringRes, resolveStringRes, sipsToPixels
public Card.Builder cardBackgroundColor(int cardBackgroundColor)
public Card.Builder cardBackgroundColorRes(@ColorRes int resId)
public Card.Builder cardBackgroundColorAttr(@AttrRes int attrResId, @ColorRes int defResId)
public Card.Builder cardBackgroundColorAttr(@AttrRes int attrResId)
public Card.Builder clippingColor(int clippingColor)
public Card.Builder clippingColorRes(@ColorRes int resId)
public Card.Builder clippingColorAttr(@AttrRes int attrResId, @ColorRes int defResId)
public Card.Builder clippingColorAttr(@AttrRes int attrResId)
public Card.Builder content(Component content)
public Card.Builder content(Component.Builder<?> contentBuilder)
public Card.Builder cornerRadiusPx(@Px float cornerRadius)
public Card.Builder cornerRadiusSp(@Dimension(unit=2) float sip)
public Card.Builder cornerRadiusRes(@DimenRes int resId)
public Card.Builder cornerRadiusAttr(@AttrRes int attrResId, @DimenRes int defResId)
public Card.Builder cornerRadiusAttr(@AttrRes int attrResId)
public Card.Builder cornerRadiusDip(@Dimension(unit=0) float dip)
public Card.Builder elevationPx(@Px float elevation)
public Card.Builder elevationSp(@Dimension(unit=2) float sip)
public Card.Builder elevationRes(@DimenRes int resId)
public Card.Builder elevationAttr(@AttrRes int attrResId, @DimenRes int defResId)
public Card.Builder elevationAttr(@AttrRes int attrResId)
public Card.Builder elevationDip(@Dimension(unit=0) float dip)
public Card.Builder shadowEndColor(int shadowEndColor)
public Card.Builder shadowEndColorRes(@ColorRes int resId)
public Card.Builder shadowEndColorAttr(@AttrRes int attrResId, @ColorRes int defResId)
public Card.Builder shadowEndColorAttr(@AttrRes int attrResId)
public Card.Builder shadowStartColor(int shadowStartColor)
public Card.Builder shadowStartColorRes(@ColorRes int resId)
public Card.Builder shadowStartColorAttr(@AttrRes int attrResId, @ColorRes int defResId)
public Card.Builder shadowStartColorAttr(@AttrRes int attrResId)
public Card.Builder getThis()
getThis
in class Component.Builder<Card.Builder>
public Card build()
build
in class Component.Builder<Card.Builder>
protected void release()
release
in class Component.Builder<Card.Builder>