Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Row & Column feature parity experiment #802

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

Conversation

jswong65
Copy link
Collaborator

@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 join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant