Hello all. I am trying to create a badge that is ...
# compose
b
Hello all. I am trying to create a badge that is circular on the left and right side. Ending up with this,
Code:
Copy code
Badge(
   backgroundColor = MaterialTheme.colors.primary
) {
   Text(
      text = "1",
      style = MaterialTheme.typography.body1,
      modifier = Modifier.padding(2.dp)
   )
}
k
What's the question?
b
I would like the badge to be circular, not a square with rounded corners. at least on the right and left side. As I realize the top and bottom will not be a circular as the text expands
Example
b
To clip the Badge? Or instead of a Badge?
k
b
Thanks, appreciate all the help!