nuhkoca
06/05/2024, 12:19 PMCompose
? My long text is separated by n\
and and would like to give extra little space too but couldn’t find any way to do so. Tried paragraphStyle
but there is only lineHeight
there.MR3Y
06/05/2024, 12:26 PMnuhkoca
06/05/2024, 12:27 PMAlbert Chang
06/05/2024, 2:30 PM\n
with SpanStyle(fontSize = 0.4f.em)
between paragraphs.nuhkoca
06/05/2024, 2:31 PMAlbert Chang
06/05/2024, 2:34 PMbuildAnnotatedString {
append(paragraph1)
withStyle(SpanStyle(fontSize = 0.4f.em)) {
append('\n')
}
append(paragraph2)
}
nuhkoca
06/05/2024, 2:58 PMnuhkoca
06/06/2024, 3:08 PMwithStyle(style = ParagraphStyle(lineHeight = 8.sp)) { append() }