I have such an implemenation
Surface(
modifier = Modifier.background(Color.Transparent),
shape = RoundedCornerShape(corner = CornerSize(2.dp)),
border = BorderStroke(width = 1.dp, color = showpageColorAgvotBoarder)
) {
Text(
modifier = Modifier.padding(2.dp),
text = item,
style = ShowpageAgvotStyle
)
}
the result I get is
Like entire background is black, however, surface backgroudn is white...
I need just a boarder and background of surface should be transparent (in this case black as entire background is black)
What am I doing wrong?