In the lessons so far, you worked on creating basic composables and using modifiers to change their appearance and behavior. It’s now time to learn how to tie together multiple composables and arrange them to form a cohesive layout.
In the XML world, you would use ViewGroups to arrange layouts horizontally, vertically, or relative to one another. However, due to multiple measurements, these ViewGroups often cause performance issues for complex UIs. Compose offers a far superior alternative without the performance overhead.
In this lesson, you’ll learn how to use layout composables to arrange your UI components. You’ll learn about:
Rows and how to use them to arrange your UI horizontally.
Columns and how to use them to arrange your UI vertically.
Boxes and how to use them to stack items on top of one another.
See forum comments
This content was released on Sep 10 2024. The official support period is 6-months
from this date.
Learn how to structure and arrange UI elements using layout composables.
Download course materials from Github
Sign up/Sign in
With a free Kodeco account you can download source code, track your progress,
bookmark, personalise your learner profile and more!
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.