This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Composable() | |
fun NumbersPanel(alpha: Int) { | |
Stack { | |
Row(modifier = Modifier.fillMaxSize()) { | |
numberColumns.forEach { numberColumn -> | |
Column(modifier = Modifier.weight(1f)) { | |
numberColumn.forEach { text -> | |
MainContentButton(text) | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Composable() | |
fun SideView( | |
boxHeight: Dp, | |
drag: Drag | |
) { | |
val position = drag.position | |
val flingConfig = drag.flingConfig | |
val yOffset = with(DensityAmbient.current) { position.value.toDp() } | |
val toggleAsset = state { R.drawable.ic_keyboard_arrow_left_24 } | |
Box( |
OlderNewer