Vipulyaara
02/27/2021, 3:13 PM\n
with no help. The first line of text is justified if I set maxLines = 2
and let the text flow in second line.
I am not so familiar with how justification works on android but is there a way to achieve this - a single line of text which can stretch to occupy full width of the screen?ClickableText(
modifier = modifier.fillMaxWidth(),
text = annotatedString,
style = MaterialTheme.typography.h6.copy(
textAlign = TextAlign.Justify,
),
maxLines = 1,
onClick = {
//
},
)