TextStyle

data class TextStyle(@AnyRes val fontResource: Int = UNSET_FONT_RESOURCE, val fontAssetsPath: String? = null, val style: Int = Typeface.NORMAL, @Px val size: Int = UNSET_SIZE, @ColorInt val color: Int = UNSET_COLOR, val hint: String = UNSET_HINT, @ColorInt val hintColor: Int = UNSET_HINT_COLOR, val defaultFont: Typeface = Typeface.DEFAULT) : Serializable

Constructors

Link copied to clipboard
constructor(@AnyRes fontResource: Int = UNSET_FONT_RESOURCE, fontAssetsPath: String? = null, style: Int = Typeface.NORMAL, @Px size: Int = UNSET_SIZE, @ColorInt color: Int = UNSET_COLOR, hint: String = UNSET_HINT, @ColorInt hintColor: Int = UNSET_HINT_COLOR, defaultFont: Typeface = Typeface.DEFAULT)

Types

Link copied to clipboard
class Builder(array: TypedArray)

Properties

Link copied to clipboard
val color: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val fontAssetsPath: String? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val size: Int
Link copied to clipboard
val style: Int

Functions

Link copied to clipboard
fun apply(textView: TextView)
Link copied to clipboard
Link copied to clipboard