I am trying to re-create this layout using `Medium...
# compose
k
I am trying to re-create this layout using
MediumTopAppBar
. However, it doesn't work as I expected. The button is displayed twice...? Any idea what is going on? Does TopAppBar not support extra content beside the title?
Copy code
MediumTopAppBar(
        actions = {
            IconButton(onClick = { /*TODO*/ }) {
                Icon(Icons.Default.Add, contentDescription = null)
            }
        },
        navigationIcon = {
            IconButton(onClick = onClose) {
                Icon(Icons.Filled.ArrowBack, contentDescription = null)
            }
        },
        title = {
            Row {
                Text(text = stringResource(id = R.string.title_bodymeasurements))
                Button(onClick = { /*TODO*/ }) {
                    Text(text = "Test")
                }
            }
        }
    }
}