-
public final class TextViewStyleExtensionsKt
-
-
Method Summary
-
-
Method Detail
-
style
final static Unit style(TextView $self, AttributeSet attrs)
-
style
final static <V extends TextView> Unit style(V $self, Function1<ExtendableStyleBuilder<V>, Unit> builder)
-
addDefault
final static Unit addDefault(ExtendableStyleBuilder<TextView> $self)
Empty style.
-
textAppearanceRes
final static Unit textAppearanceRes(ExtendableStyleBuilder<out TextView> $self, @AnyRes() Integer resId)
-
drawableBottom
final static Unit drawableBottom(ExtendableStyleBuilder<out TextView> $self, Drawable value)
-
drawableBottomRes
final static Unit drawableBottomRes(ExtendableStyleBuilder<out TextView> $self, @DrawableRes() Integer resId)
-
drawableLeft
final static Unit drawableLeft(ExtendableStyleBuilder<out TextView> $self, Drawable value)
-
drawableLeftRes
final static Unit drawableLeftRes(ExtendableStyleBuilder<out TextView> $self, @DrawableRes() Integer resId)
-
drawableRight
final static Unit drawableRight(ExtendableStyleBuilder<out TextView> $self, Drawable value)
-
drawableRightRes
final static Unit drawableRightRes(ExtendableStyleBuilder<out TextView> $self, @DrawableRes() Integer resId)
-
drawableTop
final static Unit drawableTop(ExtendableStyleBuilder<out TextView> $self, Drawable value)
-
drawableTopRes
final static Unit drawableTopRes(ExtendableStyleBuilder<out TextView> $self, @DrawableRes() Integer resId)
-
drawablePadding
final static Unit drawablePadding(ExtendableStyleBuilder<out TextView> $self, @Px() Integer value)
-
drawablePaddingRes
final static Unit drawablePaddingRes(ExtendableStyleBuilder<out TextView> $self, @DimenRes() Integer resId)
-
drawablePaddingDp
final static Unit drawablePaddingDp(ExtendableStyleBuilder<out TextView> $self, @Dimension(unit = 0) Integer value)
-
ellipsize
final static Unit ellipsize(ExtendableStyleBuilder<out TextView> $self, Integer value)
-
ellipsizeRes
final static Unit ellipsizeRes(ExtendableStyleBuilder<out TextView> $self, @IntegerRes() Integer resId)
-
fontFamily
final static Unit fontFamily(ExtendableStyleBuilder<out TextView> $self, Typeface value)
-
fontFamilyRes
final static Unit fontFamilyRes(ExtendableStyleBuilder<out TextView> $self, @FontRes() Integer resId)
-
hint
final static Unit hint(ExtendableStyleBuilder<out TextView> $self, CharSequence value)
-
hintRes
final static Unit hintRes(ExtendableStyleBuilder<out TextView> $self, @StringRes() Integer resId)
-
inputType
final static Unit inputType(ExtendableStyleBuilder<out TextView> $self, Integer value)
-
inputTypeRes
final static Unit inputTypeRes(ExtendableStyleBuilder<out TextView> $self, @IntegerRes() Integer resId)
-
gravity
final static Unit gravity(ExtendableStyleBuilder<out TextView> $self, Integer value)
-
gravityRes
final static Unit gravityRes(ExtendableStyleBuilder<out TextView> $self, @IntegerRes() Integer resId)
-
letterSpacing
final static Unit letterSpacing(ExtendableStyleBuilder<out TextView> $self, Float value)
-
letterSpacingRes
final static Unit letterSpacingRes(ExtendableStyleBuilder<out TextView> $self, @AnyRes() Integer resId)
-
lines
final static Unit lines(ExtendableStyleBuilder<out TextView> $self, Integer value)
-
linesRes
final static Unit linesRes(ExtendableStyleBuilder<out TextView> $self, @IntegerRes() Integer resId)
-
lineSpacingExtra
final static Unit lineSpacingExtra(ExtendableStyleBuilder<out TextView> $self, @Px() Integer value)
-
lineSpacingExtraRes
final static Unit lineSpacingExtraRes(ExtendableStyleBuilder<out TextView> $self, @DimenRes() Integer resId)
-
lineSpacingExtraDp
final static Unit lineSpacingExtraDp(ExtendableStyleBuilder<out TextView> $self, @Dimension(unit = 0) Integer value)
-
lineSpacingMultiplier
final static Unit lineSpacingMultiplier(ExtendableStyleBuilder<out TextView> $self, Float value)
-
lineSpacingMultiplierRes
final static Unit lineSpacingMultiplierRes(ExtendableStyleBuilder<out TextView> $self, @AnyRes() Integer resId)
-
maxLines
final static Unit maxLines(ExtendableStyleBuilder<out TextView> $self, Integer value)
-
maxLinesRes
final static Unit maxLinesRes(ExtendableStyleBuilder<out TextView> $self, @IntegerRes() Integer resId)
-
minLines
final static Unit minLines(ExtendableStyleBuilder<out TextView> $self, Integer value)
-
minLinesRes
final static Unit minLinesRes(ExtendableStyleBuilder<out TextView> $self, @IntegerRes() Integer resId)
-
maxWidth
final static Unit maxWidth(ExtendableStyleBuilder<out TextView> $self, @Px() Integer value)
-
maxWidthRes
final static Unit maxWidthRes(ExtendableStyleBuilder<out TextView> $self, @DimenRes() Integer resId)
-
maxWidthDp
final static Unit maxWidthDp(ExtendableStyleBuilder<out TextView> $self, @Dimension(unit = 0) Integer value)
-
minWidth
final static Unit minWidth(ExtendableStyleBuilder<out TextView> $self, @Px() Integer value)
-
minWidthRes
final static Unit minWidthRes(ExtendableStyleBuilder<out TextView> $self, @DimenRes() Integer resId)
-
minWidthDp
final static Unit minWidthDp(ExtendableStyleBuilder<out TextView> $self, @Dimension(unit = 0) Integer value)
-
singleLine
final static Unit singleLine(ExtendableStyleBuilder<out TextView> $self, Boolean value)
-
singleLineRes
final static Unit singleLineRes(ExtendableStyleBuilder<out TextView> $self, @BoolRes() Integer resId)
-
text
final static Unit text(ExtendableStyleBuilder<out TextView> $self, CharSequence value)
-
textRes
final static Unit textRes(ExtendableStyleBuilder<out TextView> $self, @StringRes() Integer resId)
-
textAllCaps
final static Unit textAllCaps(ExtendableStyleBuilder<out TextView> $self, Boolean value)
-
textAllCapsRes
final static Unit textAllCapsRes(ExtendableStyleBuilder<out TextView> $self, @BoolRes() Integer resId)
-
textColor
final static Unit textColor(ExtendableStyleBuilder<out TextView> $self, ColorStateList value)
-
textColor
final static Unit textColor(ExtendableStyleBuilder<out TextView> $self, @ColorInt() Integer color)
-
textColorRes
final static Unit textColorRes(ExtendableStyleBuilder<out TextView> $self, @ColorRes() Integer resId)
-
textColorHint
final static Unit textColorHint(ExtendableStyleBuilder<out TextView> $self, ColorStateList value)
-
textColorHint
final static Unit textColorHint(ExtendableStyleBuilder<out TextView> $self, @ColorInt() Integer color)
-
textColorHintRes
final static Unit textColorHintRes(ExtendableStyleBuilder<out TextView> $self, @ColorRes() Integer resId)
-
textSize
final static Unit textSize(ExtendableStyleBuilder<out TextView> $self, @Px() Integer value)
-
textSizeRes
final static Unit textSizeRes(ExtendableStyleBuilder<out TextView> $self, @DimenRes() Integer resId)
-
textSizeDp
final static Unit textSizeDp(ExtendableStyleBuilder<out TextView> $self, @Dimension(unit = 0) Integer value)
-
textStyle
final static Unit textStyle(ExtendableStyleBuilder<out TextView> $self, Integer value)
-
textStyleRes
final static Unit textStyleRes(ExtendableStyleBuilder<out TextView> $self, @IntegerRes() Integer resId)
-
lineHeight
final static Unit lineHeight(ExtendableStyleBuilder<out TextView> $self, @Px() Integer value)
-
lineHeightRes
final static Unit lineHeightRes(ExtendableStyleBuilder<out TextView> $self, @DimenRes() Integer resId)
-
lineHeightDp
final static Unit lineHeightDp(ExtendableStyleBuilder<out TextView> $self, @Dimension(unit = 0) Integer value)
-
textViewStyle
final static Style textViewStyle(Function1<ExtendableStyleBuilder<TextView>, Unit> builder)
-
-
-
-