TextDrawable

fun TextDrawable(context: Context, text: String, @ColorInt textColor: Int)

Parameters

context

The display context.

text

The text to be drawn on the screen.

textColor

The color to draw the text.