Skip to content

Commit

Permalink
#2 - Align your body row - Arrangements
Browse files Browse the repository at this point in the history
  • Loading branch information
jhg3410 committed Jan 26, 2023
1 parent b4aff3e commit cc003df
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ import androidx.annotation.DrawableRes
import androidx.annotation.StringRes
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.lazy.LazyRow
import androidx.compose.foundation.lazy.items
import androidx.compose.foundation.shape.CircleShape
import androidx.compose.material.*
import androidx.compose.material.icons.Icons
Expand Down Expand Up @@ -133,7 +135,15 @@ fun FavoriteCollectionCard(
fun AlignYourBodyRow(
modifier: Modifier = Modifier
) {
// Implement composable here
LazyRow(
horizontalArrangement = Arrangement.spacedBy(8.dp),
contentPadding = PaddingValues(horizontal = 16.dp),
modifier = modifier
) {
items(items = alignYourBodyData) { item ->
AlignYourBodyElement(item.drawable, item.text)
}
}
}

// Step: Favorite collections grid - LazyGrid
Expand Down

0 comments on commit cc003df

Please sign in to comment.