spannedTextWithLinkColor

fun spannedTextWithLinkColor(linkColor: Int = 0): Spanned

Returns a spanned string that contains the text and the link holder parsed and underlined. A click on the link starts an ACTION_VIEW Intent with the privacy policy url.

Return

a formatted spanned string

Parameters

linkColor

sets the color of the url part inside the spanned string