Closed d7coders closed 9 months ago
maybe you could try to provide your own header:
ImageCropperDialog(
state = state,
topBar = {
TopAppBar(
backgroundColor = Color.Yellow, 👈👈👈
title = {},
navigationIcon = {
IconButton(onClick = { state.done(accept = false) }) {
Icon(Icons.Default.ArrowBack, null)
}
},
actions = {
IconButton(onClick = { state.reset() }) {
Icon(painterResource(R.drawable.restore), null)
}
IconButton(onClick = { state.done(accept = true) }, enabled = !state.accepted) {
Icon(Icons.Default.Done, null)
}
}
)
}
)
how to change the action bar color?![Screenshot_1689768126](https://github.com/mr0xf00/easycrop/assets/4857706/ff9b7520-9f0f-462b-b0b7-5051e47a160c)