# Row A Row will show each child next to the previous children. It's similar to a LinearLayout with a horizontal orientation.

```kotlin @Composable fun RowExample() { Row { Text("Hello World!") Text("Hello World!2") } } ``` ## Content Arrangement ### Horizontal You can use **horizontalArrangement** to set the horizontal arrangement of the content in the Row === "Arrangement.SpaceEvenly"

```kotlin @Composable fun RowExample() { Row(horizontalArrangement = Arrangement.SpaceEvenly) { Text("Hello World!") Text("Hello World!2") } } ``` === "Arrangement.Center"

```kotlin @Composable fun RowExample() { Row(horizontalArrangement = Arrangement.Center) { Text("Hello World!") Text("Hello World!2") } } ``` === "Arrangement.End"

```kotlin @Composable fun RowExample() { Row(horizontalArrangement = Arrangement.End) { Text("Hello World!") Text("Hello World!2") } } ``` ## See also: * [Official Docs]({{ site.composedoc }}/foundation/layout/package-summary#row) * [Full Example Code]({{ site.samplefolder }}/layout/RowExample.kt)