Skip to content

Instantly share code, notes, and snippets.

@zurche
Created November 11, 2023 15:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zurche/051dbb9d96e8490d470204c773d2f223 to your computer and use it in GitHub Desktop.
Save zurche/051dbb9d96e8490d470204c773d2f223 to your computer and use it in GitHub Desktop.
CryptoNavigation
@Composable
@Preview
fun CryptoNavigation(modifier: Modifier = Modifier) {
Row(
modifier = modifier
.height(55.dp)
.clip(RoundedCornerShape(50))
.background(color = Color.Black),
verticalAlignment = Alignment.CenterVertically,
horizontalArrangement = Arrangement.spacedBy(5.dp)
) {
Spacer(modifier = Modifier.size(1.dp))
NavButton(icon = Icons.Filled.Check, isSelected = false) {}
NavButton(icon = Icons.Filled.Add, isSelected = true) {}
NavButton(icon = Icons.Filled.Build, isSelected = true) {}
Spacer(modifier = Modifier.size(1.dp))
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment