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

Grid helper improvement part1 #612

Merged
merged 1 commit into from
May 24, 2022
Merged

Conversation

jswong65
Copy link
Contributor

@jswong65 jswong65 commented May 23, 2022

Grid helper improvement part 1

  • Updates the format of spans and make it the same with skips (position:row_spanxcolumn_span).
  • Add setSpans and setSkips to enable dynamically set values of spans and/or skips.
  • Add grid_rowWeights and grid_columnWeights to specify the proportional height of a row or a the proportional width of a column by providing the weights.
  • Update the layout of the activity_main.xml to demonstrate the usages of grid_rowColumns

activity_main.xml

image

@jswong65 jswong65 requested review from jafu888 and oscar-ad May 23, 2022 22:03
@jswong65 jswong65 merged commit 71a924a into androidx:main May 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants