setTextAppearance

@RequiresApi(value = 23)
open fun setTextAppearance(resId: Int)

Sets the text appearance from the specified style resource.

Parameters

resId

the resource identifier of the style to apply


open fun setTextAppearance(context: Context, resId: Int)

Deprecated

deprecated

Sets the text color, size, style, hint color, and highlight color from the specified TextAppearance resource.

Parameters

context
resId

the resource identifier of the style to apply