4

I want to make this shape with jetpack compose how can I do it?enter image description here

Gabriele Mariotti
  • 320,139
  • 94
  • 887
  • 841
Null
  • 107
  • 1
  • 7

1 Answers1

5

You have different options.
One of them is a simple Box with an Icon:

//external circle
Box( 
    contentAlignment= Alignment.Center,
    modifier = Modifier
        .size(32.dp)
        .border(
            width = 2.dp,
            color = Blue900,
            shape = CircleShape
        ),
){
    //internal circle with icon
    Icon(
        imageVector = Icons.Filled.Check,
        contentDescription = "contentDescription",
        modifier = Modifier
            .size(24.dp)
            .background(Blue900, CircleShape)
            .padding(2.dp),
        tint = Blue200
    )
}

enter image description here

Gabriele Mariotti
  • 320,139
  • 94
  • 887
  • 841