Alejandro Rios
07/08/2020, 1:56 AMAdam Powell
07/08/2020, 2:07 AMBottomAppBar
- it wants a composable lambda 🙂Alejandro Rios
07/08/2020, 2:10 AM@Composable
@Preview(showBackground = true)
fun DefaultRecipeCard() {
Scaffold(topAppBar = {
TopAppBar(
title = {
Text(text = "ComposablecookBok")
}
)
}, bodyContent = {
RecipeList(defaultRecipes)
}, bottomAppBar = {
BottomAppBar(
contentColor = Color.Black,
backgroundColor = Color.White,
cutoutShape = CircleShape
) {
IconButton(icon = { Icon(asset = <http://Icons.Outlined.Menu|Icons.Outlined.Menu>) }, onClick = {})
Spacer(Modifier.weight(1f, true))
IconButton(icon = { Icon(asset = Icons.Outlined.Add) }, onClick = {})
}
}
)
}