Skip to content

Instantly share code, notes, and snippets.

@PatilShreyas
Created July 30, 2021 13:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PatilShreyas/2a0bcbed73a7e2c8176b7751184097c7 to your computer and use it in GitHub Desktop.
Save PatilShreyas/2a0bcbed73a7e2c8176b7751184097c7 to your computer and use it in GitHub Desktop.
@Composable
fun Social() {
val dividerId = "inlineDividerId"
val text = buildAnnotatedString {
append(AnnotatedString("LinkedIn ", spanStyle = SpanStyle(Color.Blue)))
appendInlineContent(dividerId, "[divider]")
append(AnnotatedString(" Twitter ", spanStyle = SpanStyle(Color.Blue)))
appendInlineContent(dividerId, "[divider]")
append(AnnotatedString(" Portfolio", spanStyle = SpanStyle(Color.Blue)))
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment