background to MidiControlPanel
This commit is contained in:
parent
3c34637bfe
commit
c63a72aa46
1 changed files with 4 additions and 3 deletions
|
|
@ -121,14 +121,15 @@ fun MidiControlPanel(
|
||||||
Column (
|
Column (
|
||||||
modifier = modifier
|
modifier = modifier
|
||||||
.fillMaxWidth()
|
.fillMaxWidth()
|
||||||
.padding(16.dp),
|
.padding(16.dp)
|
||||||
|
.background(color = Color.Gray.copy(alpha = 0.5f), shape = RoundedCornerShape(size = 5.dp)),
|
||||||
horizontalAlignment = Alignment.CenterHorizontally
|
horizontalAlignment = Alignment.CenterHorizontally
|
||||||
) {
|
) {
|
||||||
Row (
|
Row (
|
||||||
verticalAlignment = Alignment.CenterVertically,
|
verticalAlignment = Alignment.CenterVertically,
|
||||||
horizontalArrangement = Arrangement.spacedBy(8.dp)
|
horizontalArrangement = Arrangement.spacedBy(8.dp)
|
||||||
) {
|
) {
|
||||||
Text("${currentPos.toInt() / 1000}s")
|
Text("${currentPos.toInt() / 1000}s", color = Color.White)
|
||||||
Slider(
|
Slider(
|
||||||
value = currentPos,
|
value = currentPos,
|
||||||
onValueChange = onSeek,
|
onValueChange = onSeek,
|
||||||
|
|
@ -159,7 +160,7 @@ fun MidiControlPanel(
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
Text("${momo / 1000}s")
|
Text("${momo / 1000}s", color = Color.White)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue