Justin Tullgren
04/27/2021, 2:48 PMJustin Tullgren
04/27/2021, 2:48 PMJustin Tullgren
04/27/2021, 2:49 PMFilip Wiesner
04/27/2021, 2:51 PMHelloContent
composable: Column.
Column arranges items "sequentially" from top to down. For horizontal layouts there is RowKirill Grouchnikov
04/27/2021, 2:57 PMScaffold
with top app bar and main contentJustin Tullgren
04/27/2021, 3:22 PMJustin Tullgren
04/27/2021, 3:22 PMScaffold
@Kirill Grouchnikov thanks.Filip Wiesner
04/27/2021, 3:28 PMTopAppBar
it's better to use Scaffold
because it's designed to do exactly this.
But to explain, the AppBar in your example is outside of the column so the content is drawn over it.
You could do something like this
Column
AppBar
Column
OutlinedTextField
Justin Tullgren
04/27/2021, 3:29 PMJustin Tullgren
04/27/2021, 3:29 PMJustin Tullgren
04/27/2021, 3:29 PMFilip Wiesner
04/27/2021, 3:33 PMJustin Tullgren
04/27/2021, 3:34 PM