Skip to content
This repository has been archived by the owner on Dec 27, 2024. It is now read-only.

Row & Column feature parity experiment #802

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jswong65
Copy link
Contributor

@jswong65 jswong65 commented Apr 6, 2023

This PR is created to evaluate the potential approaches to achieve the feature parity of Compose Row & Column layout.

The first step would be to achieve the arrangement on the main axis (see the follow figures as an example - source)

Arrangement

image

image

Row

Example in ComposeRow.kt

Equal Weight
image

SpaceBetween
image

SpaceAround
image

SpaceEvenly
image

Center
image

Start
image

End
image

Column

Example in ComposeColumn.kt

EqualWeight
image

SpaceBetween
image

Space Around
image

SpaceEvenly
image

Center
image

Top
image

Bottom
image

Modifier

Alignment

FirstBaseline Alignment (Row)
image

Weight

Row
image

Column
image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant