Skip to content

Instantly share code, notes, and snippets.

@aqua30
Created May 1, 2023 17:32
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 aqua30/341043551d7754580f1a812f627ca616 to your computer and use it in GitHub Desktop.
Save aqua30/341043551d7754580f1a812f627ca616 to your computer and use it in GitHub Desktop.
Row(
modifier = Modifier,
verticalAlignment = Alignment.CenterVertically
) {
Text(
text = stringResource(id = R.string.whatsapp_title),
style = TextStyle(
fontSize = 22.sp,
fontWeight = FontWeight.SemiBold,
color = if (isSystemInDarkTheme()) PrimaryGray_A101 else White
)
)
Spacer(modifier = Modifier.weight(1f))
ActionIcon(id = R.drawable.ic_camera_outline)
Spacer(modifier = Modifier.width(20.dp))
ActionIcon(id = R.drawable.ic_search_outline)
Spacer(modifier = Modifier.width(16.dp))
ActionIcon(id = R.drawable.ic_overflow_filled)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment