merge From Text Appearance
fun mergeFromTextAppearance(context: Context, @StyleRes textAppearance: Int, @ColorRes textBackgroundColor: Int = 0)
Merge attributes into this instance's values by given com.google.android.material.resources.TextAppearance and background color.
Since
3.0.0
Parameters
context
the context of view.
text Appearance
A TextAppearance to apply.
text Background Color
A background color to apply.