Answers for "kotlin text styling"

0

kotlin text styling

val spannable = SpannableString("This is a string to be styled programatically to bold")
spannable.setSpan(
	StyleSpan(Typeface.BOLD),
			45,
			67,
			Spannable.SPAN_EXCLUSIVE_INCLUSIVE
    )
Posted by: Guest on August-13-2021

Browse Popular Code Answers by Language