Jetpack Compose Tutorial #2: Layouts — Column, Row, and Box Explained
In the previous tutorial, we wrote our first Composable. But one Text on the screen is not an app. You need to put things next to each other, below each other, and on top of each other. That is what layouts do. Compose gives you three main layout components: Column — puts things vertically (top to bottom) Row — puts things horizontally (left to right) Box — puts things on top of each other (like layers) Every screen you will ever build uses a combination of these three. Master them and you can build anything. ...