Can someone show me how to show a progressline bet...
# compose
g
Can someone show me how to show a progressline between these circles in the Jetsurvey application? I need them to be connected. Tried a lot using Layout with measure and placeable. But cant get it correctly.
Copy code
@Composable
private fun PageIndicator(pagesCount: Int, currentPageIndex: Int, modifier: Modifier = Modifier) {
    Row(
        modifier = modifier
            .wrapContentWidth(align = Alignment.CenterHorizontally)
            .gravity(align = Alignment.CenterVertically)
    ) {
        for (pageIndex in 0 until pagesCount) {
            val asset = if (currentPageIndex == pageIndex) {
                Icons.Filled.FiberManualRecord
            } else {
                Icons.Outlined.FiberManualRecord
            }
            Icon(
                asset = asset,
                tint = MaterialTheme.colors.primary
            )
        }
    }
}