Nick
11/14/2023, 1:41 AMbuildAnnotatedString
to get bold, underline, and italics set up. I can’t seem to find a way to get bulleted lists to perform correctly where the bullet character’s displayed and line wraps indent correctly. Thanks in advance for your help.ephemient
11/14/2023, 2:01 AMParagraphStyle(
indent = TextIndent(firstLine = 0.sp, restLine = indent),
...
)
and replace the bullet with
InlineTextContent(
placeholder = Placeholder(
width = indent,
height = ...,
placeholderVerticalAlign = TextCenter,
),
children = {
// manually draw bullet at end
}
}
?Nick
11/14/2023, 2:03 AMascii
11/14/2023, 6:15 AMrestLine = 9.05.sp
which was obtained experimentally. Seems to work ok for Roboto across all sizes.Nick
11/14/2023, 6:31 PM