Skip to content

Instantly share code, notes, and snippets.

@zurche
Created September 11, 2023 20:24
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/5aef72cb5023d0f6e3119d276d74f4cd to your computer and use it in GitHub Desktop.
Save zurche/5aef72cb5023d0f6e3119d276d74f4cd to your computer and use it in GitHub Desktop.
Asset Performance Card
@Composable
fun AssetPerformanceCard(
assetInfo: AssetInfo = mockAssetInfo
) {
Card(
modifier = Modifier
.wrapContentHeight()
.fillMaxWidth()
.padding(start = 5.dp, end = 5.dp, bottom = 5.dp),
colors = CardDefaults.cardColors(containerColor = CryptoWhite)
) {
Row(
horizontalArrangement = Arrangement.SpaceBetween,
verticalAlignment = Alignment.CenterVertically,
modifier = Modifier
.padding(15.dp)
.fillMaxWidth()
) {
// TODO: Place here the other views of our Composable!
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment