Joseph Hawkes-Cates
12/07/2021, 2:58 PMScaffold(
modifier = Modifier.statusBarPadding(),
topBar = {
Row(verticalAlignment = Alignment.CenterVertically, modifier = Modifier.background(Color.Gray)) {
Text(
text = stringResource(R.string.recoverAccount_title),
textAlign = TextAlign.Center,
style = MaterialTheme.typography.h6,
color = MaterialTheme.colors.onHeader,
modifier = modifier.weight(1f).background(Color.Red)
)
IconButton(
onClick = { viewModel.onNavigateBack() },
modifier = Modifier.background(Color.Blue)
) {
Icon(
imageVector = Icons.Filled.Close,
contentDescription = stringResource(R.string.recoverAccount_closeEmailSent),
tint = MaterialTheme.colors.onSurface
)
}
}
}
) {
// The screen content
}
Zoltan Demant
12/07/2021, 3:15 PMmodifier
on your Text, could you link what it is?Joseph Hawkes-Cates
12/07/2021, 3:16 PMZoltan Demant
12/07/2021, 3:17 PMJoseph Hawkes-Cates
12/07/2021, 3:17 PMZoltan Demant
12/07/2021, 3:18 PMJoseph Hawkes-Cates
12/07/2021, 3:19 PMStylianos Gakis
12/07/2021, 3:31 PMJoseph Hawkes-Cates
12/07/2021, 3:33 PM