TextViewProxy

class TextViewProxy(view: TextView) : BaseProxy<TextViewProxy, TextView>

Functions

afterStyle
Link copied to clipboard
fun afterStyle(style: Style?)
setDrawableBottom
Link copied to clipboard
fun setDrawableBottom(drawable: Drawable?)
setDrawableLeft
Link copied to clipboard
fun setDrawableLeft(drawable: Drawable?)
setDrawablePadding
Link copied to clipboard
fun setDrawablePadding(@Px() padding: Int)
setDrawableRight
Link copied to clipboard
fun setDrawableRight(drawable: Drawable?)
setDrawableTop
Link copied to clipboard
fun setDrawableTop(drawable: Drawable?)
setEllipsize
Link copied to clipboard
fun setEllipsize(ellipsize: Int)
setFontFamily
Link copied to clipboard
fun setFontFamily(typeface: Typeface?)
setGravity
Link copied to clipboard
fun setGravity(gravity: Int)
setHint
Link copied to clipboard
fun setHint(hint: CharSequence?)
setInputType
Link copied to clipboard
fun setInputType(inputType: Int)
setLetterSpacing
Link copied to clipboard
@RequiresApi(value = 21)
fun setLetterSpacing(letterSpacing: Float)
setLineHeight
Link copied to clipboard
fun setLineHeight(@Px() @IntRange(from = 0.toLong()lineHeight: Int)
setLines
Link copied to clipboard
fun setLines(lines: Int)
setLineSpacingExtra
Link copied to clipboard
fun setLineSpacingExtra(@Px() lineSpacingExtra: Int)
View.setLineSpacing(...
setLineSpacingMultiplier
Link copied to clipboard
fun setLineSpacingMultiplier(lineSpacingMultiplier: Float)
setMaxLines
Link copied to clipboard
fun setMaxLines(maxLines: Int)
setMaxWidth
Link copied to clipboard
fun setMaxWidth(@Px() maxWidth: Int)
setMinLines
Link copied to clipboard
fun setMinLines(minLines: Int)
setMinWidth
Link copied to clipboard
fun setMinWidth(@Px() minWidth: Int)
setSingleLine
Link copied to clipboard
fun setSingleLine(singleLine: Boolean)
setText
Link copied to clipboard
fun setText(text: CharSequence?)
setTextAllCaps
Link copied to clipboard
fun setTextAllCaps(textAllCaps: Boolean)
setTextAppearance
Link copied to clipboard
fun setTextAppearance(@StyleRes() textAppearance: Int)
setTextColor
Link copied to clipboard
fun setTextColor(colors: ColorStateList?)
setTextColorHint
Link copied to clipboard
fun setTextColorHint(colors: ColorStateList?)
setTextSize
Link copied to clipboard
fun setTextSize(@Px() textSize: Int)
setTextStyle
Link copied to clipboard
fun setTextStyle(styleIndex: Int)

Properties

proxy
Link copied to clipboard
open override val proxy: TextViewProxy
view
Link copied to clipboard
open override val view: TextView