As you can see in the screenshot, the border is drawn, but it does not have the right width and also not the right color.
Maybe someone can explain me where my mistake is or how I can draw a corresponding border at the top edge.
I used the current version of Compose and Kotlin.
r
Rafs
12/03/2020, 1:08 PM
You can use the Canvas composable to draw your border
n
Nader Jawad
12/03/2020, 7:27 PM
You can also use
Modifier.drawWithContent
to draw the content first then draw the top border line on top of the content