0PricingLogin
Jetpack Compose Academy · Lesson

Row: Place Things Side by Side

Lay out children left to right.

Side by Side

When you want children in a horizontal line, you use a Row. It is the sideways sibling of Column. ➡️

Your First Row

A Row takes a trailing lambda just like Column. Each child you call inside lands next to the previous one, left to right.

Row {
    Text("Left")
    Text("Right")
}

All lessons in this course

  1. Column: Stack Things Vertically
  2. Row: Place Things Side by Side
  3. Box: Layer & Overlap
  4. Arrangement & Alignment
← Back to Jetpack Compose Academy