MaterialTheme {
Column {
TopAppBar(title = { Text("Title") }, elevation = 24.dp)
}
}
Why there is no elevation/shadow visible if I do this? Putting TopAppBar inside a Scaffold makes it work but I'm wondering why it doesn't work outside of Scaffold.
Ok I see, it's there but it's clipped. Adding bottom padding fixes it.