-
public final class ViewStyleExtensionsKt
-
-
Method Summary
-
-
Method Detail
-
style
final static Unit style(View $self, AttributeSet attrs)
-
style
final static <V extends View> Unit style(V $self, Function1<ExtendableStyleBuilder<V>, Unit> builder)
-
addDefault
final static Unit addDefault(ExtendableStyleBuilder<View> $self)
Empty style.
-
minWidthRes
final static Unit minWidthRes(ExtendableStyleBuilder<out View> $self, @DimenRes() Integer resId)
-
minWidthDp
final static Unit minWidthDp(ExtendableStyleBuilder<out View> $self, @Dimension(unit = 0) Integer value)
-
layoutWidth
final static Unit layoutWidth(ExtendableStyleBuilder<out View> $self, Integer value)
-
layoutWidthRes
final static Unit layoutWidthRes(ExtendableStyleBuilder<out View> $self, @DimenRes() Integer resId)
-
layoutWidthDp
final static Unit layoutWidthDp(ExtendableStyleBuilder<out View> $self, @Dimension(unit = 0) Integer value)
-
layoutHeight
final static Unit layoutHeight(ExtendableStyleBuilder<out View> $self, Integer value)
-
layoutHeightRes
final static Unit layoutHeightRes(ExtendableStyleBuilder<out View> $self, @DimenRes() Integer resId)
-
layoutHeightDp
final static Unit layoutHeightDp(ExtendableStyleBuilder<out View> $self, @Dimension(unit = 0) Integer value)
-
layoutGravity
final static Unit layoutGravity(ExtendableStyleBuilder<out View> $self, Integer value)
-
layoutGravityRes
final static Unit layoutGravityRes(ExtendableStyleBuilder<out View> $self, @IntegerRes() Integer resId)
-
layoutWeight
final static Unit layoutWeight(ExtendableStyleBuilder<out View> $self, Float value)
-
layoutWeightRes
final static Unit layoutWeightRes(ExtendableStyleBuilder<out View> $self, @AnyRes() Integer resId)
-
layoutMarginHorizontal
final static Unit layoutMarginHorizontal(ExtendableStyleBuilder<out View> $self, @Px() Integer value)
-
layoutMarginHorizontalRes
final static Unit layoutMarginHorizontalRes(ExtendableStyleBuilder<out View> $self, @DimenRes() Integer resId)
-
layoutMarginHorizontalDp
final static Unit layoutMarginHorizontalDp(ExtendableStyleBuilder<out View> $self, @Dimension(unit = 0) Integer value)
-
layoutMarginVertical
final static Unit layoutMarginVertical(ExtendableStyleBuilder<out View> $self, @Px() Integer value)
-
layoutMarginVerticalRes
final static Unit layoutMarginVerticalRes(ExtendableStyleBuilder<out View> $self, @DimenRes() Integer resId)
-
layoutMarginVerticalDp
final static Unit layoutMarginVerticalDp(ExtendableStyleBuilder<out View> $self, @Dimension(unit = 0) Integer value)
-
layoutMarginBottom
final static Unit layoutMarginBottom(ExtendableStyleBuilder<out View> $self, @Px() Integer value)
-
layoutMarginBottomRes
final static Unit layoutMarginBottomRes(ExtendableStyleBuilder<out View> $self, @DimenRes() Integer resId)
-
layoutMarginBottomDp
final static Unit layoutMarginBottomDp(ExtendableStyleBuilder<out View> $self, @Dimension(unit = 0) Integer value)
-
layoutMarginLeft
final static Unit layoutMarginLeft(ExtendableStyleBuilder<out View> $self, @Px() Integer value)
-
layoutMarginLeftRes
final static Unit layoutMarginLeftRes(ExtendableStyleBuilder<out View> $self, @DimenRes() Integer resId)
-
layoutMarginLeftDp
final static Unit layoutMarginLeftDp(ExtendableStyleBuilder<out View> $self, @Dimension(unit = 0) Integer value)
-
layoutMarginRight
final static Unit layoutMarginRight(ExtendableStyleBuilder<out View> $self, @Px() Integer value)
-
layoutMarginRightRes
final static Unit layoutMarginRightRes(ExtendableStyleBuilder<out View> $self, @DimenRes() Integer resId)
-
layoutMarginRightDp
final static Unit layoutMarginRightDp(ExtendableStyleBuilder<out View> $self, @Dimension(unit = 0) Integer value)
-
layoutMarginTop
final static Unit layoutMarginTop(ExtendableStyleBuilder<out View> $self, @Px() Integer value)
-
layoutMarginTopRes
final static Unit layoutMarginTopRes(ExtendableStyleBuilder<out View> $self, @DimenRes() Integer resId)
-
layoutMarginTopDp
final static Unit layoutMarginTopDp(ExtendableStyleBuilder<out View> $self, @Dimension(unit = 0) Integer value)
-
layoutMarginEnd
final static Unit layoutMarginEnd(ExtendableStyleBuilder<out View> $self, @Px() Integer value)
-
layoutMarginEndRes
final static Unit layoutMarginEndRes(ExtendableStyleBuilder<out View> $self, @DimenRes() Integer resId)
-
layoutMarginEndDp
final static Unit layoutMarginEndDp(ExtendableStyleBuilder<out View> $self, @Dimension(unit = 0) Integer value)
-
layoutMarginStart
final static Unit layoutMarginStart(ExtendableStyleBuilder<out View> $self, @Px() Integer value)
-
layoutMarginStartRes
final static Unit layoutMarginStartRes(ExtendableStyleBuilder<out View> $self, @DimenRes() Integer resId)
-
layoutMarginStartDp
final static Unit layoutMarginStartDp(ExtendableStyleBuilder<out View> $self, @Dimension(unit = 0) Integer value)
-
layoutMargin
final static Unit layoutMargin(ExtendableStyleBuilder<out View> $self, @Px() Integer value)
-
layoutMarginRes
final static Unit layoutMarginRes(ExtendableStyleBuilder<out View> $self, @DimenRes() Integer resId)
-
layoutMarginDp
final static Unit layoutMarginDp(ExtendableStyleBuilder<out View> $self, @Dimension(unit = 0) Integer value)
-
alpha
final static Unit alpha(ExtendableStyleBuilder<out View> $self, Float value)
-
alphaRes
final static Unit alphaRes(ExtendableStyleBuilder<out View> $self, @AnyRes() Integer resId)
-
background
final static Unit background(ExtendableStyleBuilder<out View> $self, Drawable value)
-
backgroundRes
final static Unit backgroundRes(ExtendableStyleBuilder<out View> $self, @DrawableRes() Integer resId)
-
backgroundTint
final static Unit backgroundTint(ExtendableStyleBuilder<out View> $self, ColorStateList value)
-
backgroundTint
final static Unit backgroundTint(ExtendableStyleBuilder<out View> $self, @ColorInt() Integer color)
-
backgroundTintRes
final static Unit backgroundTintRes(ExtendableStyleBuilder<out View> $self, @ColorRes() Integer resId)
-
backgroundTintMode
final static Unit backgroundTintMode(ExtendableStyleBuilder<out View> $self, Integer value)
-
backgroundTintModeRes
final static Unit backgroundTintModeRes(ExtendableStyleBuilder<out View> $self, @IntegerRes() Integer resId)
-
clickable
final static Unit clickable(ExtendableStyleBuilder<out View> $self, Boolean value)
-
clickableRes
final static Unit clickableRes(ExtendableStyleBuilder<out View> $self, @BoolRes() Integer resId)
-
contentDescription
final static Unit contentDescription(ExtendableStyleBuilder<out View> $self, CharSequence value)
-
contentDescriptionRes
final static Unit contentDescriptionRes(ExtendableStyleBuilder<out View> $self, @StringRes() Integer resId)
-
elevationRes
final static Unit elevationRes(ExtendableStyleBuilder<out View> $self, @DimenRes() Integer resId)
-
elevationDp
final static Unit elevationDp(ExtendableStyleBuilder<out View> $self, @Dimension(unit = 0) Integer value)
-
focusable
final static Unit focusable(ExtendableStyleBuilder<out View> $self, Boolean value)
-
focusableRes
final static Unit focusableRes(ExtendableStyleBuilder<out View> $self, @BoolRes() Integer resId)
-
foreground
final static Unit foreground(ExtendableStyleBuilder<out View> $self, Drawable value)
-
foregroundRes
final static Unit foregroundRes(ExtendableStyleBuilder<out View> $self, @DrawableRes() Integer resId)
-
minHeightRes
final static Unit minHeightRes(ExtendableStyleBuilder<out View> $self, @DimenRes() Integer resId)
-
minHeightDp
final static Unit minHeightDp(ExtendableStyleBuilder<out View> $self, @Dimension(unit = 0) Integer value)
-
paddingBottom
final static Unit paddingBottom(ExtendableStyleBuilder<out View> $self, @Px() Integer value)
-
paddingBottomRes
final static Unit paddingBottomRes(ExtendableStyleBuilder<out View> $self, @DimenRes() Integer resId)
-
paddingBottomDp
final static Unit paddingBottomDp(ExtendableStyleBuilder<out View> $self, @Dimension(unit = 0) Integer value)
-
paddingLeft
final static Unit paddingLeft(ExtendableStyleBuilder<out View> $self, @Px() Integer value)
-
paddingLeftRes
final static Unit paddingLeftRes(ExtendableStyleBuilder<out View> $self, @DimenRes() Integer resId)
-
paddingLeftDp
final static Unit paddingLeftDp(ExtendableStyleBuilder<out View> $self, @Dimension(unit = 0) Integer value)
-
paddingRight
final static Unit paddingRight(ExtendableStyleBuilder<out View> $self, @Px() Integer value)
-
paddingRightRes
final static Unit paddingRightRes(ExtendableStyleBuilder<out View> $self, @DimenRes() Integer resId)
-
paddingRightDp
final static Unit paddingRightDp(ExtendableStyleBuilder<out View> $self, @Dimension(unit = 0) Integer value)
-
paddingTop
final static Unit paddingTop(ExtendableStyleBuilder<out View> $self, @Px() Integer value)
-
paddingTopRes
final static Unit paddingTopRes(ExtendableStyleBuilder<out View> $self, @DimenRes() Integer resId)
-
paddingTopDp
final static Unit paddingTopDp(ExtendableStyleBuilder<out View> $self, @Dimension(unit = 0) Integer value)
-
paddingHorizontal
final static Unit paddingHorizontal(ExtendableStyleBuilder<out View> $self, @Px() Integer value)
-
paddingHorizontalRes
final static Unit paddingHorizontalRes(ExtendableStyleBuilder<out View> $self, @DimenRes() Integer resId)
-
paddingHorizontalDp
final static Unit paddingHorizontalDp(ExtendableStyleBuilder<out View> $self, @Dimension(unit = 0) Integer value)
-
paddingVertical
final static Unit paddingVertical(ExtendableStyleBuilder<out View> $self, @Px() Integer value)
-
paddingVerticalRes
final static Unit paddingVerticalRes(ExtendableStyleBuilder<out View> $self, @DimenRes() Integer resId)
-
paddingVerticalDp
final static Unit paddingVerticalDp(ExtendableStyleBuilder<out View> $self, @Dimension(unit = 0) Integer value)
-
paddingRes
final static Unit paddingRes(ExtendableStyleBuilder<out View> $self, @DimenRes() Integer resId)
-
paddingDp
final static Unit paddingDp(ExtendableStyleBuilder<out View> $self, @Dimension(unit = 0) Integer value)
-
paddingEnd
final static Unit paddingEnd(ExtendableStyleBuilder<out View> $self, @Px() Integer value)
-
paddingEndRes
final static Unit paddingEndRes(ExtendableStyleBuilder<out View> $self, @DimenRes() Integer resId)
-
paddingEndDp
final static Unit paddingEndDp(ExtendableStyleBuilder<out View> $self, @Dimension(unit = 0) Integer value)
-
paddingStart
final static Unit paddingStart(ExtendableStyleBuilder<out View> $self, @Px() Integer value)
-
paddingStartRes
final static Unit paddingStartRes(ExtendableStyleBuilder<out View> $self, @DimenRes() Integer resId)
-
paddingStartDp
final static Unit paddingStartDp(ExtendableStyleBuilder<out View> $self, @Dimension(unit = 0) Integer value)
-
stateListAnimatorRes
final static Unit stateListAnimatorRes(ExtendableStyleBuilder<out View> $self, @AnyRes() Integer resId)
-
visibility
final static Unit visibility(ExtendableStyleBuilder<out View> $self, Integer value)
-
visibilityRes
final static Unit visibilityRes(ExtendableStyleBuilder<out View> $self, @IntegerRes() Integer resId)
-
ignoreLayoutWidthAndHeight
final static Unit ignoreLayoutWidthAndHeight(ExtendableStyleBuilder<out View> $self, Boolean value)
-
ignoreLayoutWidthAndHeightRes
final static Unit ignoreLayoutWidthAndHeightRes(ExtendableStyleBuilder<out View> $self, @BoolRes() Integer resId)
-
importantForAccessibility
final static Unit importantForAccessibility(ExtendableStyleBuilder<out View> $self, Integer value)
-
importantForAccessibilityRes
final static Unit importantForAccessibilityRes(ExtendableStyleBuilder<out View> $self, @IntegerRes() Integer resId)
-
viewStyle
final static Style viewStyle(Function1<ExtendableStyleBuilder<View>, Unit> builder)
-
-
-
-