I'm trying to put a icon after the word skip put it always appears in the top left corner.
Example: Skip>
Text(text = buildAnnotatedString {
append("")
val skipText = stringResource(id = R.string.skip)
withStyle(style = SpanStyle(color = MaterialTheme.colors.onBackground)
) {
append(skipText)
}
Icon(Icons.Filled.ChevronRight, "chevron right")
},
style = MaterialTheme.typography.body1,
modifier = Modifier
.align(Alignment.BottomCenter)
.padding(bottom = 50.dp)
)
