Rick Regan
01/17/2021, 5:49 PMTextDecoration
appear to be LineThrough
, Underline
, and None
. I tried putting "combining overline" unicode characters in the text but it puts an overline over each character, not one contiguous overline across all the characters. Is there a way to do this in Compose?jim
01/17/2021, 7:01 PMRick Regan
01/17/2021, 7:32 PMTextDecoration
was probably not the appropriate place to look to solve this because I'd want to be able to overbar a substring of the text. Perhaps then this is not a Compose specific question.Siyamed
01/19/2021, 2:51 AMSiyamed
01/19/2021, 2:52 AMSiyamed
01/19/2021, 2:54 AMbuildAnnotatedString {
append(myString)
setSpanStyle(3,5, SpanStyle(textDecoration = TextDecoration.Underline)
}
I am on mobile so the function signature might not be accurate, but they should be similarRick Regan
01/19/2021, 1:53 PMRick Regan
01/19/2021, 3:20 PMSiyamed
01/26/2021, 10:40 PMRick Regan
01/26/2021, 11:00 PM