Skip to content

Instantly share code, notes, and snippets.

@babosamo
Last active February 8, 2022 11:55
Show Gist options
  • Save babosamo/dd9908e0a3e0e4712a6017501f56b377 to your computer and use it in GitHub Desktop.
Save babosamo/dd9908e0a3e0e4712a6017501f56b377 to your computer and use it in GitHub Desktop.
@Composable
@Preview
private fun TistorySplash() {
Column(
modifier = Modifier
.fillMaxSize()
.padding(bottom = 30.dp),
horizontalAlignment = Alignment.CenterHorizontally
) {
Box(
modifier = Modifier
.weight(1f)
.padding(bottom = 70.dp),
contentAlignment = Alignment.Center
) {
Image(
modifier = Modifier
.size(132.dp, 132.dp),
painter = painterResource(id = R.drawable.ic_img_applogo),
contentDescription = null
)
}
Image(
modifier = Modifier.wrapContentSize(),
painter = painterResource(id = R.drawable.ic_img_copyright),
contentDescription = null,
)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment