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

layouts #18

Closed
mgood7123 opened this issue Mar 25, 2023 · 1 comment
Closed

layouts #18

mgood7123 opened this issue Mar 25, 2023 · 1 comment

Comments

@mgood7123
Copy link

how can custom layouts be achieved?

for example, a grid with AxB columns/rows

or a LinearLayout https://developer.android.com/guide/topics/ui/layout/linear.html

or even ConstraintLayout https://developer.android.com/develop/ui/views/layout/constraint-layout

@randrew
Copy link
Owner

randrew commented Aug 14, 2023

layout.h does the LinearLayout by default. That's how it usually works.

layout.h doesn't have a 'grid' mode. If you need a grid, you can do it with custom code. Grids are usually simple and don't require complex layout logic, since all you really need to know is the largest size of each cell in each row and column.

layout.h isn't a constraint solver or constraint-based system and doesn't do constraint layouts.

@randrew randrew closed this as completed Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants