I find the way Border(1.dp, Color.Black)
can not work with the border property of Card view, what's the best way to work around of it?
How to add border to card view with jetpack compose
44k views Asked by ccd At
2
I find the way Border(1.dp, Color.Black)
can not work with the border property of Card view, what's the best way to work around of it?
You can use the
border
parameter to specify aBorderStroke
to draw the border on top of the card:With Material3 you can use: