done with channel screen mockup

This commit is contained in:
geeksville 2020-02-17 20:17:08 -08:00
parent bb2b11264d
commit 8311eb1a4d
2 changed files with 30 additions and 2 deletions

View file

@ -24,11 +24,17 @@ fun ChannelContent(channel: Channel = Channel("Default", 7)) {
style = typography.h4
)
Row {
Row(modifier = LayoutGravity.Center) {
val image = imageResource(id = R.drawable.qrcode)
Container(modifier = LayoutGravity.Center + LayoutSize.Min(320.dp, 320.dp)) {
Container(modifier = LayoutGravity.Center + LayoutSize.Min(200.dp, 200.dp)) {
DrawImage(image = image)
}
VectorImage(
id = R.drawable.ic_twotone_share_24,
modifier = LayoutGravity.Center + LayoutPadding(left = 8.dp),
tint = palette.onBackground
)
}
Text(